NEW
Font size
WorksheetsThink it through
Total questions: 16
Worksheet time: 8mins
what does resistors do ?
slow down the speed of electrons
reduce the number of electrons
slow down the speed of electrons as well as reduce the number of electrons
none of the them
Which of the following is true ?
In series, components have same voltage and different current
In series, components have different voltage and same current
In parallel, have different voltage and same current
In series, components have same voltage and same current
The formula for the resonant frequency in an LC circuit is given by f =
LC1
2π1×CL
2πLC1
LC2π
Which was the first OS designed by C programming language ?
DOS
Windows
Unix
Mac
Which of the following cannot be a variable name in C?
volatile
true
friend
export
Which of the following as microcontrollers and microprocessor
Arduino and 8085
Raspberry pi and altera
4004 and 8086
ATmega328 and ATmega8
what is the output of the below code snippet?
infinite loop
prints "hello" once
no output
compile error
Identify the incorrect file opening mode in C programming from the following
-r
-w
-x
-a
Which of the following is a logical OR operator ?
&
&&
||
!|
A program written with the IDE for arduino is called
IDE source
Sketch
cryptography
source code
Which is the software or a programming language used for controlling of arduino ?
Assembly language
C language
Java
Any language
Pick the best statement for the below program
compile error because arr has been defined using struct type incorrectly. First struct type should be defined using tag and then arr should be defined using that tag
Compile error because apart from the definition of arr, another issue is in the initialization of array of struct that is i.e. arr[]
Compile error because of initialization of array of struct i.e arr[]
No compile error and it will print 1200
No compile error and it will print 1020
Pick the best statement for the below program
Compile error because struct type (containing two field i.e an array of int and an int) has been specified along with the definition of array arr[] of this struct type
Compile error because of incorrect syntax for initialization of array arr[]
No compiler error and two elements of arr would be defined and initialized. output would be "101 and 202"
No compile error and two elements of arr[] would be defined and initialized output would be "1 X 1 and 2 X 2" where X is some random garbage number
Which of the following is correct for the function definition along with the storage class specifier with C language ?
int fun (auto int arg)
int fun(static int arg)
int fun(register int arg)
int fun(extern int arg)
All of the above are correct
Which one of these is a coding language
bite
gnaw
scratch
itch
Which sensor can sense both humidity and temperature ?
BMP 180
DHT 11
MQ 135
Arduino Uno
