Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Test4

Total questions: 34

Worksheet time: 17mins

Name
Class
Date
1.

Which layer of the OSI model is responsible for logical addressing?

a)

A) Data Link

b)

B) Transport

c)

C) Network

d)

D) Session

2.

Which topology provides high reliability but is expensive?

a)

A) Star

b)

B) Bus

c)

C) Ring

d)

D) Mesh

3.

What does CSMA/CD stand for?

a)

A) Carrier Signal Multiple Access / Control Data

b)

B) Carrier Sense Multiple Access / Collision Detection

c)

C) Control Signal Multiple Access / Collision Detection

d)

D) Carrier Sense Media Access / Control Device

4.

Which device converts digital signals to analog signals?

a)

A) Router

b)

B) Switch

c)

C) Modem

d)

D) Hub

5.

Which protocol is used to test network connectivity?

a)

A) TCP

b)

B) UDP

c)

C) ICMP

d)

D) ARP

6.

What is the default port number of FTP?

a)

A) 21

b)

B) 23

c)

C) 25

d)

D) 80

7.

Which address is permanently assigned to a network interface?

a)

A) IP Address

b)

B) MAC Address

c)

C) Port Address

d)

D) Logical Address

8.

Which OSI layer is responsible for data compression?

a)

A) Application

b)

B) Transport

c)

C) Presentation

d)

D) Session

9.

Which network type is best suited for a college campus?

a)

A) PAN

b)

B) LAN

c)

C) MAN

d)

D) WAN

10.

Which protocol uses a sliding window mechanism?

a)

A) UDP

b)

B) IP

c)

C) TCP

d)

D) ICMP

11.

What is the maximum number of hosts possible in a Class C network?

a)

A) 254

b)

B) 255

c)

C) 256

d)

D) 1024

12.

A bridge operates at which OSI layer?

a)

A) Physical

b)

B) Network

c)

C) Data Link

d)

D) Transport

13.

What is the minimum frame size in Ethernet?

a)

A) 46 bytes

b)

B) 64 bytes

c)

C) 72 bytes

d)

D) 128 bytes

14.

What is the main purpose of NAT?

a)

A) Improve security

b)

B) Reduce IP address usage

c)

C) Increase bandwidth

d)

D) Improve routing speed

15.

Which protocol uses three-way handshake?

a)

A) UDP

b)

B) FTP

c)

C) TCP

d)

D) HTTP

16.

Which switching technique is used in telephone networks?

a)

A) Packet switching

b)

B) Circuit switching

c)

C) Message switching

d)

D) Frame switching

17.

Which of the following best defines a kernel?

a)

A) System software

b)

B) Application software

c)

C) Hardware component

d)

D) Firmware

18.

In which scheduling algorithm does the time quantum play an important role?

a)

A) FCFS

b)

B) SJF

c)

C) Priority

d)

D) Round Robin

19.

Which OS component handles system calls?

a)

A) Shell

b)

B) Compiler

c)

C) Kernel

d)

D) Loader

20.

Which OS is designed to work with minimal human intervention?

a)

A) Batch OS

b)

B) Time-sharing OS

c)

C) Distributed OS

d)

D) Network OS

21.

What is spooling?

a)

A) Scheduling technique

b)

B) Buffering data for I/O devices

c)

C) Memory allocation

d)

D) Deadlock prevention

22.

Which structure maintains information about open files?

a)

A) Process table

b)

B) Memory table

c)

C) File Control Block

d)

D) Page table

23.

Which type of OS is used in washing machines and microwaves?

a)

A) Distributed OS

b)

B) Time-sharing OS

c)

C) Real-time OS

d)

D) Embedded OS

24.

Which parameter passing mechanism allows the called function to modify the actual parameter?

a)

A) Call by Value

b)

B) Call by Name

c)

C) Call by Reference

d)

D) Call by Result

25.

Which type checking is more flexible but less safe?

a)

A) Static typing

b)

B) Dynamic typing

c)

C) Strong typing

d)

D) Explicit typing

26.

Aliasing occurs when:

a)

A) Two variables have same value

b)

B) Two variables refer to same memory location

c)

C) Variable names are reused

d)

D) Same function is called twice

27.

Lambda expressions are mainly used to support:

a)

A) Recursion

b)

B) Functional programming

c)

C) Object-oriented programming

d)

D) Exception handling

28.

Which control structure allows non-linear execution flow?

a)

A) Sequence

b)

B) Selection

c)

C) Iteration

d)

D) GOTO

29.

Which polymorphism is resolved at runtime?

a)

A) Function overloading

b)

B) Operator overloading

c)

C) Parametric polymorphism

d)

D) Subtype polymorphism

30.

Which storage allocation technique is used for dynamic data structures?

a)

A) Static allocation

b)

B) Stack allocation

c)

C) Heap allocation

d)

D) Register allocation

31.

Which memory area is used to store activation records for recursive calls?

a)

A) Heap

b)

B) Stack

c)

C) Cache

d)

D) Register

32.

Which parameter passing technique delays expression evaluation until it is used?

a)

A) Call by value

b)

B) Call by reference

c)

C) Call by name

d)

D) Call by result

33.

Which scoping rule is followed by the C programming language?

a)

A) Dynamic scoping

b)

B) Static scoping

c)

C) Block scoping only

d)

D) No scoping

34.

void fun(int x) {

x = x + 10;

}

int main() {

int a = 5;

fun(a);

printf("%d", a);

return 0;

}

a)

A) 5

b)

B) 10

c)

C) 15

d)

D) Garbage value