wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

PSP Module-1

Total questions: 25

Worksheet time: 14mins

Name
Class
Date
1.

Third Generation Computers was based on _____________?

a)

Transistors

b)

Vacuum Tubes

c)

Integrated Circuits(ICs)

d)

Microprocessors

2.

What is the size of one petabyte (1PB)?

a)

1024 terabytes

b)

1024 gigabytes

c)

1024 kilobytes

d)

1024 bytes

3.

What are the components of CPU?

a)

Network

WiFi

Bluetooth

b)

RAM

ROM

c)

Harddisk

DVD

Tape Drive

d)

ALU

CU

Registers

4.

What are the different cache memories we have?

a)

L4, L5 & L6

b)

L1, L2 & L3

c)

L7, L8 & L9

d)

L0, L1 & L2

5.

What is the full form of SDHC flash memory?

a)

Solid Disk High Capacity

b)

Secure Disk High Capacity

c)

Secure Digital High Capacity

d)

Secure Digital High Compact

6.

Identify the port given in the figure?

a)

RJ45

b)

USB

c)

PS2

d)

HDMI

7.

Who is the father of C Language?

a)

Ken Thompson

b)

Dennis Ritchie

c)

Martin Richards

d)

Brian Kerninghan

8.

There are only ___________ keywords in ANSI C

a)

54

b)

40

c)

32

d)

30

9.

Under which section we have to add #define PERIOD 10 in a C program?

a)

Document Section

b)

Global Declaration Section

c)

Definition Section

d)

Main Section

10.

A Software which converts high level language to machine level language is called

a)

Compiler

b)

Interpreter

c)

Device Driver

d)

Application Software

11.

Which among is a keyword?

a)

sum

b)

return

c)

datatype

d)

def

12.

Which is the mantissa in following 3.5e-5

a)

5

b)

e

c)

3.5

d)

Both 5 & 3.5

13.

What is '\v' backslash character constant specifies?

a)

newline

b)

vertical tab

c)

form feed

d)

carriage return

14.

Which is a valid variable among these?

a)

25th

b)

123(area)

c)

Avg+value

d)

Total

15.

What type of datatype 'array' is?

a)

Primary Datatype

b)

Derived datatype

c)

User-Defined datatype

d)

integer datatype

16.

What is the size of char datatype?

a)

-128 to 127

b)

0 to 255

c)

0 to 500

d)

-100 to 500

17.

Local variable whose data is stored in a CPU register?

a)

auto

b)

register

c)

extern

d)

static

18.

What is the output of the below code?

int main() {

int x=5, y=10, z=10;

x = y == z;

printf("%d",x);

}

a)

10

b)

5

c)

1

d)

error

19.

What is the output of the following code?

int main() {

int x=100, y=200;

printf("%d",(x>y)?x:y);

}

a)

100

b)

1

c)

2

d)

200

20.

What is the output of the below code?

int main() {

unsigned x=1;

signed char y = -1;

if(x > y)

printf("x > y");

else

printf("x<=y");

}

a)

x > y

b)

x<=y

c)

1

d)

-1

21.

int main() {

char x;

int y;

x=100;

y=125;

printf("%c\n", x);

printf("%d\n", y);

printf("%d\n", x);

}

Guess the output of the above code

a)

100

125

100

b)

c

100

125

c)

d

125

100

d)

d

100

125

22.

int main() {

int x=10;

if(x = 20)

printf("TRUE");

else

printf("FLASE");

}

What will be the output of the above code?

a)

FLASE

b)

TRUE

c)

Error

d)

no output

23.

What is the result of the expression

(a/2.0 == 0.0 && b/2.0 != 0.0) || c < 0.0 where a=5, b=10 and c=-6

(a)  

24.

int main() {

int m=-14, n=3;

printf("%d\n", m/n * 10);

n = -n;

printf("%dn", m/n * 10);

}

What is the output of the above code?

a)

-40

-40

b)

40

40

c)

-40

40

d)

-40

40n

25.

State True or False for the below expression

5 > 10 || 10 < 20 && 3 < 5

(a)