Font size
WorksheetsPSP Module-1
Total questions: 25
Worksheet time: 14mins
Third Generation Computers was based on _____________?
Transistors
Vacuum Tubes
Integrated Circuits(ICs)
Microprocessors
What is the size of one petabyte (1PB)?
1024 terabytes
1024 gigabytes
1024 kilobytes
1024 bytes
What are the components of CPU?
Network
WiFi
Bluetooth
RAM
ROM
Harddisk
DVD
Tape Drive
ALU
CU
Registers
What are the different cache memories we have?
L4, L5 & L6
L1, L2 & L3
L7, L8 & L9
L0, L1 & L2
What is the full form of SDHC flash memory?
Solid Disk High Capacity
Secure Disk High Capacity
Secure Digital High Capacity
Secure Digital High Compact
Identify the port given in the figure?
RJ45
USB
PS2
HDMI
Who is the father of C Language?
Ken Thompson
Dennis Ritchie
Martin Richards
Brian Kerninghan
There are only ___________ keywords in ANSI C
54
40
32
30
Under which section we have to add #define PERIOD 10 in a C program?
Document Section
Global Declaration Section
Definition Section
Main Section
A Software which converts high level language to machine level language is called
Compiler
Interpreter
Device Driver
Application Software
Which among is a keyword?
sum
return
datatype
def
Which is the mantissa in following 3.5e-5
5
e
3.5
Both 5 & 3.5
What is '\v' backslash character constant specifies?
newline
vertical tab
form feed
carriage return
Which is a valid variable among these?
25th
123(area)
Avg+value
Total
What type of datatype 'array' is?
Primary Datatype
Derived datatype
User-Defined datatype
integer datatype
What is the size of char datatype?
-128 to 127
0 to 255
0 to 500
-100 to 500
Local variable whose data is stored in a CPU register?
auto
register
extern
static
What is the output of the below code?
int main() {
int x=5, y=10, z=10;
x = y == z;
printf("%d",x);
}
10
5
1
error
What is the output of the following code?
int main() {
int x=100, y=200;
printf("%d",(x>y)?x:y);
}
100
1
2
200
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");
}
x > y
x<=y
1
-1
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
100
125
100
c
100
125
d
125
100
d
100
125
int main() {
int x=10;
if(x = 20)
printf("TRUE");
else
printf("FLASE");
}
What will be the output of the above code?
FLASE
TRUE
Error
no output
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)
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?
-40
-40
40
40
-40
40
-40
40n
State True or False for the below expression
5 > 10 || 10 < 20 && 3 < 5
(a)
