Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
Q 1/38
Score 0
What is the result of the following operation:
int X = B11110011;
X = X<<3;
120
X = (00111100)2
X = (10011000)2
X= (00011110)2
X = (11111100)2
38 questions
Q.What is the result of the following operation:
int X = B11110011;
X = X<<3;
1
120 sec
Q.What is the result of the following operation:
int X = B11110011;
X = X>>2;
2
120 sec
Q.What is the function of VSS?
3
120 sec
Q.What is the function of VDD?
4
120 sec
Q.What is the result of the following operation:
int X = 23;
X = X % 5;
5
120 sec
Q.Which is of the following a suitable application of an Arduino PWM signal?
6
120 sec
Q.What is the purpose of using Input / outputs ports in Arduino?
7
120 sec
Q.Find the equivalent voltage of a PWM signal which has a duty cycle of 90%.
8
120 sec
Q.Find the value of duty in analogWrite(9, duty) of a PWM signal when duty cycle of 90% is required.
9
120 sec
Q.The operating program will be stored in Arduino in
10
120 sec
Q.What is the right instruction that will make pins in port D 1, 2, 3, 6 and 7 low and other pins high?
11
120 sec
Q.What will happen when you run the following codes:
void setup(){
DDRD = 0xFF;
}
void loop(){
int i=0;
while(i<10){
PORTD = 0xFF; delay(1000);
PORTD = 0x00; delay(1000); }
// exit (0);
}
12
120 sec
Q.What is the final value of the variable num after running the following codes?
void loop(){
int num = 0;
for(i = 0 ; i <=10 ; i++){
if(i<4)
num = num * 2;
else
;
} }
13
120 sec
Q.What will happen when SW1 is pressed and released?
int SW1 = 13;
void setup (){
pinMode(SW1, INPUT);
}
void loop(){
while(digitalRead(SW1) == HIGH){
PORTB = 0x15;
delay (1000);
}
}
14
120 sec
Q.Figure (1) shows L293D motor driver that is connected to port D in microcontroller. What is the appropriate output that should be sent to port D in order to the two motors move opposite each other?
15
120 sec
Q.The diode shown in figure (2) is used to protect
16
120 sec
Q.What is the result of the following operation:
Char x =10, Y = 5, Z = 5;
Z = Y + X;
Z++;
17
120 sec
Q.The circuit used to control the direction of DC Motor Current is:
18
120 sec
Q.To make a delay of (1.5 Sec) use:
19
120 sec
Q.How many times the following loop will be repeated when all pins in port D are configured as output?
Char x = 0;
void loop(){
While(x<=6)
{
PORTD= 255;
delay (1000);
PORTD = 0;
delay (1000);
X++; }
exit (0);
}
20
120 sec
Q.The function of Input / Output Circuit in Arduino is:
21
120 sec
Q.The while-loop is used to
22
120 sec
Q.The decimal number (82)10 equals:
23
120 sec
Q.Convert (11010111001)2 to Hex:
24
120 sec
Q.Convert (1C)16 to decimal:
25
120 sec
Q.In the process of making PCB, Ferric Chloride solution is needed during which process?
26
120 sec
Q.A portion of exposed metal on the surface of a printed circuit board (PCB) to which a component lead to be soldered is called
27
120 sec
Q.The PCB soldering method which allows components to be simply soldered on the board, not requiring that leads pass through holes is known as
28
120 sec
Q.During PCB fabrication, the process of coating insulating ink everywhere except solder connections is called
29
120 sec
Q.The Arduino Uno board is based on the micro-processing controller
30
120 sec
Q.The clock frequency of the Arduino board using ATmega328 microcontroller is
31
120 sec
Q.Build and Run the following Arduino program, the LED connected to PIN 2 starts flashing forever. Choose the correct frequency of the LED flashing?
setup()
{
pinMode(2,OUTPUT);
}
void loop()
{
digitalWrite(2,HIGH);
delay(500);
digitalWrite(2,LOW);
delay(500);
}
32
120 sec
Q.for (i=0; i<6, i++)
{
instructions
}
Refer the “for loop” command shown above and state the number of times the instructions will be repeated?
33
120 sec
Q.Arduino programs are entered line by line. For entering multi-line block comments
34
120 sec
Q.A portion an Arduino program is shown below. Find the final value of the variable num after running the following codes?
int num = 0;
for(i = 0 ; i <=10 ; i++)
{
if(i<4) {num = num + 2;}
}
35
120 sec
Q.To set the cursor to the 1st Row and 2nd column, the required code is
36
120 sec
Q.The PCB fabrication step shown in figure is
37
120 sec
Q.Which terminology is defined as a mechanical assembly consisting of layers of fiberglass sheet laminated with etched copper patterns?