Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Sammilan Quiz- Prelims

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Which of the following is a Notepad extension?

a)

.xls

b)

.txt

c)

.ppt

d)

.bmp

2.

What is the smallest information unit?

a)

A bit

b)

A byte

c)

A block

d)

A nibble

3.

Who is Artificial Intelligence's forefather?

a)

Alan Turing

b)

Charles Babbage

c)

John McCarthy

d)

None of the above

4.

Only binary codes are used to write which of the following computer languages?

a)

Pascal

b)

Machine Language   

c)

C

d)

C#

5.

The network connected to all physical devices is

a)

CPU

b)

UPS

c)

DVD

d)

None of the above

6.

Which of the following is true regarding the statement "data about data"?

a)

Directory

b)

Sub Data

c)

Warehouse

d)

Meta Data

7.

What is the name of a temporary storage space that compensates for data rate and data flow discrepancies across devices?

a)

Buffer

b)

Bus

c)

Channel

d)

Modem

8.

The way a card game player arranges his cards as he picks them up one by one is comparable to which algorithm?

a)

Quick sort

b)

Merge sort

c)

Insertion sort

d)

Bubble sort

9.

What is the binary search algorithm's worst-case run-time complexity?

a)

O(n2)

b)

O(nlogn)

c)

O(n3)

d)

O(n)

10.

The other name for monitor is...

a)

VDU

b)

ALU

c)

SQL

d)

CPU

11.

What does the given declaration represents?

a)

A stack

b)

A binary tree

c)

A node

d)

A linked list

12.

On a video monitor, which of the following is the tiniest visual element?

a)

Bit

b)

Byte

c)

Pixel

d)

Character

13.

In standard C, what isn't a reserved word?

a)

volatile

b)

register

c)

typeof

d)

typedef

14.

Dynamic memory allocation takes place in which segment?

a)

BSS segment

b)

Data segment

c)

Stack

d)

Heap

15.

What does the given code segment return?

a)

1

b)

3

c)

2

d)

error

16.

All devices, such as the monitor and keyboard, are treated as files by C. When a program runs, which files open automatically?

a)

stdout

b)

stdio.h

c)

default.h

d)

string.h

17.

When is a variable's memory allocated?

a)

During variable initialization

b)

During variable declaration

c)

During the definition of variable

d)

During the assignment of variable

18.

What is the output of the given program?

a)

Runtime error

b)

32

c)

0

d)

-32

19.

Which of them isn't one of the most important SQL subsets?

a)

DDL(Data Definition Language)

b)

DML(Data Manipulation Language)

c)

DCL(Data Control Language)

d)

TCL(Transaction Control Language)

20.

File input and output (I/O) in C is heavily based on the way it is done ...

a)

in C++

b)

in DOS

c)

in C#

d)

in Unix