Chandu yadav has Published 1226 Articles

HTML canvas fillRect() Method

Chandu yadav

Chandu yadav

Updated on 21-Nov-2023 21:19:37

1K+ Views

The fillRect() method of the HTML canvas is used to create a filled rectangle on the web page. The default color is black. The element allows you to draw graphics on a web page using JavaScript. Every canvas has two elements that describes the height and width of the ... Read More

HTML5 canvas ctx.fillText won't do line breaks

Chandu yadav

Chandu yadav

Updated on 20-Nov-2023 11:39:18

1K+ Views

The fillText() method draws filled text on the canvas. If you want to break lines you can do this by splitting the text at the new lines and calling the filltext() multiple times. By doing so, you are splitting the text into lines and drawing each line separately.You can try ... Read More

Use HTML with jQuery to make a form

Chandu yadav

Chandu yadav

Updated on 12-Nov-2023 11:32:28

1K+ Views

To make a form with HTML, we use the following −    Details:    Student Name    Exam Date and Time     To make a form with jQuery and HTML, add input type text as −$form.append('');A better example would be − $myform = $(""); $myform.append(''); $('body').append($myform);

Java program to find if the given number is a leap year?

Chandu yadav

Chandu yadav

Updated on 07-Nov-2023 02:58:02

59K+ Views

Finding a year is a leap or not is a bit tricky. We generally assume that if a year number is evenly divisible by 4 is a leap year. But it is not the only case. A year is a leap year if −1. It is evenly divisible by 1002. ... Read More

Java program to find the GCD or HCF of two numbers

Chandu yadav

Chandu yadav

Updated on 04-Nov-2023 00:32:21

26K+ Views

An H.C.F or Highest Common Factor, is the largest common factor of two or more values.For example factors of 12 and 16 are −12 → 1, 2, 3, 4, 6, 12 16 → 1, 2, 4, 8, 16The common factors are 1, 2, 4 and the highest common factor is ... Read More

Classification of Computers

Chandu yadav

Chandu yadav

Updated on 02-Nov-2023 00:16:07

27K+ Views

Computer scan is broadly classified by their speed and computing power.Sr.No.TypeSpecifications1PC (Personal Computer) or Micro-ComputersIt is a single user computer system having a moderately powerful microprocessor. It is termed as a computer that is equipped microprocessor as its CPU.2WorkstationIt is also a single user computer system, similar to the personal ... Read More

What is Excess-3 Code?

Chandu yadav

Chandu yadav

Updated on 31-Oct-2023 21:45:58

55K+ Views

The excess-3 code (or XS3) is a non-weighted code used to express code used to express decimal numbers. It is a self-complementary binary coded decimal (BCD) code and numerical system which has biased representation. It is particularly significant for arithmetic operations as it overcomes shortcoming encountered while using 8421 BCD ... Read More

One’s Complement

Chandu yadav

Chandu yadav

Updated on 31-Oct-2023 13:30:04

72K+ Views

Binary Number System is one the type of most popular Number Representation techniques that used in digital systems. In the Binary System, there are only two symbols or possible digit values, i.e., 0 (off) and 1 (on). Represented by any device that only 2 operating states or possible conditions.Generally, there ... Read More

8051 Program to Add two 8 Bit numbers

Chandu yadav

Chandu yadav

Updated on 31-Oct-2023 02:58:32

23K+ Views

Intel 8051 is an 8-bit microcontroller. It has many powerful instructions and IO accessing techniques. In this section, we will see one of the simplest program using 8051.Here we will add two8-bit numbers using this microcontroller. The register A(Accumulator) is used as one operand in the operations. There are seven ... Read More

Arithmetic Logic Unit (ALU)

Chandu yadav

Chandu yadav

Updated on 25-Oct-2023 14:19:35

23K+ Views

Inside a computer, there is an Arithmetic Logic Unit (ALU), which is capable of performing logical operations (e.g. AND, OR, Ex-OR, Invert etc.) in addition to the arithmetic operations (e.g. Addition, Subtraction etc.). The control unit supplies the data required by the ALU from memory, or from input devices, and ... Read More

1 2 3 4 5 ... 123 Next
Advertisements