wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Computer Science Quiz

Total questions: 35

Worksheet time: 18mins

Name
Class
Date
1.

What kind of quantity is an Electric potential?

a)

Vector quantity

b)

Tensor quantity

c)

Scalar quantity

d)

Dimensionless quantity

2.

What is responsible for the current to flow?

a)

Protons

b)

Electrons

c)

Nucleus

d)

Protons and Electrons

3.

The full form of OSI is?

a)

Operating System interface

b)

Optical System interconnection

c)

Operating System Internet

d)

Open System Interconnection

4.

What is a proxy server also known as?

a)

Application-level gateway

b)

Proxy tools

c)

Application proxy

d)

None

5.

The size of virtual memory is based on which of the following?

a)

CPU

b)

Address Bus

c)

RAM

d)

Database

6.

Identify among the following which is mainly used to host web site

a)

Mail Server

b)

Web Server

c)

Database Server

d)

None

7.

Convert the decimal number 7 to its binary equivalent.

a)

0111

b)

0101

c)

0100

d)

0010

8.

What is the primary role of application software?

a)

To manage hardware

b)

To help users perform specific tasks

c)

To control system resources

d)

To execute system commands

9.

What is the primary function of a router in a network?

a)

To store data

b)

To manage network traffic

c)

To provide security

d)

To display web pages

10.

Which of the following is a non-relational database?

a)

Oracle

b)

MySQL

c)

MongoDB

d)

PostgreSQL

11.

What does the term "data warehouse" refer to in database management?

a)

A collection of operational data used for day-to-day operations

b)

A large store of historical data used for analysis and reporting

c)

A cloud-based database service

d)

A database management system

12.

What is a website?

a)

A single web page

b)

A collection of web pages linked together

c)

A server

d)

A browser

13.

What is the significance of a URL in web technology?

a)

Identifies a browser

b)

Links a website to a hosting server

c)

Specifies the address of a resource on the web

d)

Provides server configuration

14.

How does a compiler differ from an interpreter?

a)

A compiler executes code, while an interpreter does not

b)

A compiler debugs code, while an interpreter does not

c)

A compiler translates the entire program at once, while an interpreter translates it line by line

d)

A compiler is used only in C programming, while an interpreter is not

15.

What is the size of 'int' data type in C?

a)

Depends on the system

b)

4 bytes

c)

8 bytes

d)

2 bytes

16.

Which of the following is a valid identifier in C?

a)

2ndName

b)

_name

c)

#name

d)

none of these

17.

What is a bug in software?

a)

A type of virus

b)

A small hardware component

c)

An error or flaw in a program

d)

A security guard's tool

18.

What is the purpose of a transistor in electronic circuits?

a)

To regulate voltage

b)

To store data

c)

To filter noise

d)

To amplify or switch electronic signals

19.

If x = 2, NOT x = 3 will result in:

a)

True

b)

False

20.

Which programming language is often used for game development and is known for its high performance?

a)

Python

b)

JavaScript

c)

C#

d)

C++

21.

What is heap memory used for in programming?

a)

To store images

b)

For dynamic memory allocation during program run-time

c)

To store the operating system

d)

To install software

22.

What is a dangling pointer?

a)

A pointer that points to a valid memory location

b)

A pointer that stores a file path

c)

A pointer pointing to memory that has been freed or deleted

d)

A pointer that holds a string

23.

What is a memory leak in programming?

a)

Loss of data from hard disk

b)

When memory is allocated but not properly released

c)

When RAM is full

d)

When the program crashes

24.

What is the difference between malloc() and calloc()?

a)

malloc() initializes memory to zero, calloc() does not

b)

calloc() initializes memory to zero, malloc() does not

c)

Both are the same

d)

malloc() is used in Python

25.

Which of the following is not an application of AI?

a)

Intelligent Robots

b)

Handwriting Recognition

c)

Speech Recognition

d)

Content Mining

26.

In programming, what is the term for a construct that allows you to define a set of behaviours and properties for objects?

a)

Function

b)

Loop

c)

Variable

d)

Class

27.

What is the term for a set of well-defined rules governing the structure and behaviour of a program?

a)

Syntax

b)

Algorithm

c)

Variable

d)

Compiler

28.

What is the main purpose of a function in programming?

a)

To repeat a block of code

b)

To display output

c)

To divide a program into reusable blocks

d)

To store values

29.

Which one of the following is an application of Stack Data Structure?

a)

Managing function calls

b)

The stock span problem

c)

Arithmetic expression evaluation

d)

All of the above

30.

Which data structure works on the principle of First In First Out (FIFO)?

a)

Stack

b)

Queue

c)

Array

d)

Tree

31.

Which of the following is the smallest unit of data in a computer?

a)

Bit

b)

KB

c)

Nibble

d)

Byte

32.

Which of the following is known as the language made up of binary-coded instructions?

a)

High level

b)

BASIC

c)

C

d)

Machine

33.

Which of the following is not a type of computer code?

a)

EDIC

b)

ASCII

c)

BCD

d)

EBCDIC

34.

What does FORTRAN stand for?

a)

Formula Transfer

b)

Formula Transformation

c)

Formula Translation

d)

Format Transformation

35.

Which of the following is not a valid representation in bits?

a)

8-bit

b)

24-bit

c)

32-bit

d)

64-bit