wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Think it through

Total questions: 16

Worksheet time: 8mins

Name
Class
Date
1.

what does resistors do ?

a)

slow down the speed of electrons

b)

reduce the number of electrons

c)

slow down the speed of electrons as well as reduce the number of electrons

d)

none of the them

2.

Which of the following is true ?

a)

In series, components have same voltage and different current

b)

In series, components have different voltage and same current

c)

In parallel, have different voltage and same current

d)

In series, components have same voltage and same current

3.

The formula for the resonant frequency in an LC circuit is given by f =

a)

1LC\frac{1}{\sqrt[]{LC}}  

b)

12π×LC\frac{1}{2\pi}\times\sqrt[]{\frac{L}{C}}  

c)

12πLC\frac{1}{2\pi\sqrt[]{LC}}  

d)

2πLC\frac{2\pi}{\sqrt[]{LC}}  

4.

Which was the first OS designed by C programming language ?

a)

DOS

b)

Windows

c)

Unix

d)

Mac

5.

Which of the following cannot be a variable name in C?

a)

volatile

b)

true

c)

friend

d)

export

6.

Which of the following as microcontrollers and microprocessor

a)

Arduino and 8085

b)

Raspberry pi and altera

c)

4004 and 8086

d)

ATmega328 and ATmega8

7.

what is the output of the below code snippet?

a)

infinite loop

b)

prints "hello" once

c)

no output

d)

compile error

8.

Identify the incorrect file opening mode in C programming from the following

a)

-r

b)

-w

c)

-x

d)

-a

9.

Which of the following is a logical OR operator ?

a)

&

b)

&&

c)

||

d)

!|

10.

A program written with the IDE for arduino is called

a)

IDE source

b)

Sketch

c)

cryptography

d)

source code

11.

Which is the software or a programming language used for controlling of arduino ?

a)

Assembly language

b)

C language

c)

Java

d)

Any language

12.

Pick the best statement for the below program

a)

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

b)

Compile error because apart from the definition of arr, another issue is in the initialization of array of struct that is i.e. arr[]

c)

Compile error because of initialization of array of struct i.e arr[]

d)

No compile error and it will print 1200

e)

No compile error and it will print 1020

13.

Pick the best statement for the below program

a)

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

b)

Compile error because of incorrect syntax for initialization of array arr[]

c)

No compiler error and two elements of arr would be defined and initialized. output would be "101 and 202"

d)

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

14.

Which of the following is correct for the function definition along with the storage class specifier with C language ?

a)

int fun (auto int arg)

b)

int fun(static int arg)

c)

int fun(register int arg)

d)

int fun(extern int arg)

e)

All of the above are correct

15.

Which one of these is a coding language

a)

bite

b)

gnaw

c)

scratch

d)

itch

16.

Which sensor can sense both humidity and temperature ?

a)

BMP 180

b)

DHT 11

c)

MQ 135

d)

Arduino Uno