wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Last lightning round tests

Total questions: 130

Worksheet time: 22mins

Name
Class
Date
1.
(1) If you drive safely, then the life you save may be your own.
(2) AJ drives safely.
(3)  The life AJ saves may be his own.
Is statement (3) logical given the Law of Detachment, Syllogism, Contrapositive, or is it invalid?
a)
Law of Detachment
b)
Law of Syllogism
c)
Law of Contrapositive
d)
invalid
2.

Find the odd one out.

a)

789

b)

456

c)

123

d)

256

3.

Find the odd pair of letters.

a)

BF

b)

HL

c)

PT

d)

UX

4.

Which one is the odd one?

a)

4-16

b)

3-12

c)

7-28

d)

5-15

5.
Solve for x 
a)
x = 98/5
b)
x = 5/98
c)
x = 101/5
6.
A bird flies 35 meters in 10 seconds.  If it keeps flying at the same rate, how long will it take it to fly 14 more meters?  
a)
x = 49 seconds
b)
x = 4 meters
c)
x = 49 meters
d)
x =  4 seconds
7.
On a map, if one centimeter represents 25 kilometers, how many kilometers does 7 centimeters represent?
a)
175
b)
185
c)
200
d)
220
8.

when three hundred and fifteen is added to six hundred sixty nine what will be your answer?

a)

nine hundred and eighty four

b)

nine hundred and forty five.

c)

six hundred and twelve

d)

nine hundred and forty eight

9.
Noah printed 24 photos in 8 minutes. How many photos did he print per minute?
a)
6 photos/minute
b)
3 minutes/photo
c)
12 minutes/photo
d)
3 photos/minute
10.
Four balls of wool will make 8 knitted caps.  How many balls of wool will Nikita need if she wants to make 6 caps?
a)
2 balls of wool
b)
3 balls of wool
c)
4 balls of wool
d)
5 balls of wool
11.
On vacation, Juan drove 275 miles in 5 hours. Predict how far Juan will travel at the same rate in the next 3 hours.
a)
440
b)
195
c)
165
d)
55
12.

Look at this series : 53,53,40,40,27,27,.. What number should come next?

a)

12

b)

14

c)

27

d)

53

13.

Find the statement that must be true according to the given information

1. Vincent has a paper route . Each morning, he delivers 37 newspapers to customers in his neighborhood. It takes Vincent 50 minutes to deliver all the papers. If Vincent is sick or has other plans, his friend Thomas, who live on the same street, will sometimes deliver the papers for him.

a)

Vincent and Thomas live in the same neighborhood

b)

It takes Thomas more than 50 minutes to deliver the papers.

c)

It is dark outside when Vincent begins his deliveries

d)

Thomas would like to have his own paper route.

14.

ELFA, GLHA, ILJA,_____,MLNA

a)

OLPA

b)

KLMA

c)

LLMA

d)

KLLA

15.

1.Tanya is older than Eric.

2. Cliff is older than Tanya.

3.Eric is older than Cliff.

If the first two statements are true, the third statement is....

a)

True

b)

False

c)

Uncertain

16.

SCD, TEF, UGH, _____, WKL

a)

CMN

b)

UJI

c)

VIJ

d)

IJT

17.

Tanu is 8 years old. She is 4 years older than her brother. How old is her brother?

a)

8 years

b)

4 years

c)

12 years

d)

9 years

18.

DEF : FGH     PQR : ?

a)

QRS

b)

RQP

c)

RQS

d)

RST

19.
Which for loop is correct?
a)
for (1; x < 5; i--)
b)
for(x; 5; ++1)
c)
for(int i = 0; i < 5; i++)
d)
for(int i = 0, i < 5, i++)
20.
What does this give?  int a[2] = { 1, 5 }; int *p; p = a; p++;
a)
*p = 1
b)
p = 1
c)
*p = 5
d)
p = 5
21.
The first element in an array is always element 1.
a)
False
b)
True
22.
The first and last elements of an array declared as scores[10] is...
a)
scores[0], scores[9]
b)
scores[1], score [11]
c)
scores[4], scores[3]
d)
score[0], score[9]
23.
Variables cannot be changed.
a)
False
b)
True
24.
Which of these values would be used as a variable?
a)
Velocity
b)
Frequency
c)
0
d)
1
25.

Which of the following correctly shows the hierarchy of arithmetic operations in C?

a)

/ + * -

b)

* - / +

c)

+ - / *

d)

/ * + -

26.
what is 8%2
a)
0
b)
16
c)
24
d)
86
27.

Which data type is the most suited to store a telephone number in a variable?

a)

string

b)

integer

c)

float

d)

boolean

28.
How many matches are there?
a)
7
b)
10
c)
9
d)
8
29.
How many squares are in this picture?
a)
26
b)
18
c)
36
d)
40
30.

What is the next number in the series: 2, 4, 8, 16, _____?

a)

36

b)

32

c)

24

d)

20

31.

Maria has 10 apples. She gives 3 apples to her friend. How many apples does she have left?

a)

8 apples

b)

7 apples

c)

5 apples

d)

6 apples

32.

Which of the following is a valid declaration of a float variable in C?

a)

float x = '5';

b)

float x = 5.0;

c)

float 1x;

d)

float x;

33.

If a car travels 120 kilometers in 2 hours, what is its average speed in kilometers per hour?

a)

60 km/h

b)

70 km/h

c)

80 km/h

d)

90 km/h

34.

What is the result of 15% of 200?

a)

20

b)

15

c)

30

d)

25

35.

If a rectangle has a length of 10 cm and a width of 5 cm, what is its area?

a)

50 cm²

b)

55 cm²

c)

60 cm²

d)

45 cm²

36.
Allocating time on the processor to individual processes is known as...
a)
CPU Scheduling
b)
CPU Timing
c)
CPU Clocking
d)
CPU Sorting
37.
A process is a...
a)
program in execution
b)
program on the hard drive
c)
high level program
d)
low level program 
38.
What are the two ways an OS can close a file?
a)
Normally or Abnormally
b)
Mouse Click or Automatic
c)
Simple or Complex
d)
Complete or Partial
39.
Which of the following is not a resource managed by the OS?
a)
Bandwidth
b)
Secondary Storage
c)
RAM
d)
Programs
40.
The OS provides a platform that enables what to be run?
a)
Applications
b)
Hardware
c)
Cache
d)
Processes
41.
A message sent by the OS to change the CPU schedule is known as...
a)
Interupt
b)
Poll
c)
Cache
d)
Defrag
42.

Which of these is not a function of an OS:

a)

Provide a user interface

b)

Communicate with hardware

c)

Allow the computer to multi-task

d)

Improves CPU performance

43.

What do device drivers do?

a)

Allows the OS to communicate with hardware

b)

Drives around the motherboard

c)

Increases the amount of storage

44.

Which of these is an advantage to using a command-line interface over a GUI?

a)

More interactive

b)

Easier to use

c)

Less resource heavy

45.

What type of operating system is Windows 10?

a)

Single-user OS

b)

Multi-user OS

46.
A(n) ______________________ is the most important software that runs on a computer.
a)
Operating System
b)
Windows
c)
Anti Virus
d)
iOS
47.
Which of the following is the most recent version of Windows?
a)
Windows 8
b)
Windows 7
c)
Windows 10
48.
What is the purpose of an operating system?
a)
Manage software on computer
b)
Manage hardware on computer
c)
Manage all hardware & software on computer
49.
Which of the following operating systems can you freely modify if you choose?
a)
OS X
b)
iOS
c)
BlackBerry
d)
Linux
50.
Keeping track of the location of processes in memory and allocating space to new processes is known as...
a)
Memory Management
b)
Process Management
c)
Memory Scheduling
d)
Process Scheduling
51.

Which OSI layer is responsible for ensuring the confidentiality, integrity and authentication of data during communication?

a)

Physical Layer

b)

Data Link Layer

c)

Network Layer

d)

Presentation Layer

52.

In a hybrid network topology that combines star and bus topologies, which layers of the OSI model are primarily affected by this configuration?

a)

Physical Layer and Data Link Layer

b)

Data Link Layer and Network Layer

c)

Network Layer and Transport Layer

d)

Transport Layer and Application Layer

53.

In bipolar line encoding, which voltage level represents a binary "0," and what is its significance in terms of data transmission?

a)

Positive Voltage; It indicates the start of a data frame.

b)

Negative Voltage; It indicates the end of a data frame.

c)

Zero Voltage (No Voltage Change); It helps maintain synchronization.

d)

Positive Voltage; It represents a binary "1" and is used for data transmission.

54.

In a circuit-switched network, if each connection requires the allocation of a dedicated communication path for the entire duration of the call, which of the following statements is true?

a)

Circuit switching is highly scalable for a large number of connections.

b)

Circuit switching is inefficient for bursty and sporadic communication patterns.

c)

Circuit switching ensures low latency and minimal call setup time.

d)

Circuit switching is the preferred choice for modern packet-switched networks.

55.

In a packet-switched network, which of the following characteristics best describes the behavior of routers or switches when forwarding data packets?

a)

Routers always store and forward entire packets before making any forwarding decisions.

b)

Routers examine the destination address in the packet header to determine the appropriate outgoing link.

c)

Routers divide incoming data into fixed-size chunks before forwarding.

d)

Switches make real-time decisions on forwarding based on the contents of the entire packet.

56.

In a computer network, which of the following statements is true regarding guided and unguided media?

a)

Guided media is always faster than unguided media.

b)

Unguided media is more secure for data transmission.

c)

Guided media requires physical connections, while unguided media uses wireless transmission.

d)

Both guided and unguided media are immune to electromagnetic interference.

57.

In a computer network, which of the following statements accurately represents the characteristics of digital and analog signals?

a)

Analog signals are immune to noise and interference, while digital signals are more susceptible.

b)

Digital signals are continuous and can represent an infinite range of values, while analog signals are discrete and represent a limited range.

c)

Digital signals are more efficient in terms of bandwidth usage compared to analog signals.

d)

Analog signals are typically used in modern high-speed data transmission technologies, while digital signals are primarily used in older, legacy systems.

58.

Which network device primarily operates at Layer 2 (Data Link Layer) of the OSI model, providing segmentation of collision domains and forwarding based on MAC addresses?

a)

Router

b)

Switch

c)

Hub

d)

Bridge

59.

When you type a website's URL into your web browser and hit Enter, what is the first step your computer takes in establishing an internet connection?

a)

Your computer sends an ARP (Address Resolution Protocol) request to the local router.

b)

Your computer performs a DNS (Domain Name System) resolution to convert the URL to an IP address.

c)

Your computer establishes a TCP (Transmission Control Protocol) connection to the web server.

d)

Your computer sends a DHCP (Dynamic Host Configuration Protocol) request to obtain an IP address.

60.

In a communication scenario where two devices can transmit and receive data but not simultaneously, which mode of communication best describes this setup?

a)

Simplex

b)

Half-Duplex

c)

Full-Duplex

d)

Multiplex

61.

The arrangement of devices in a network is called a Network _________________.

a)

GPS

b)

Topology

c)

Architecture

d)

Hub

62.

What is the name of the topology where devices are connected to a SINGLE CABLE?

a)

Ring Topology

b)

Star Topology

c)

Mesh Topology

d)

Bus Topology

63.

How is a MESH NETWORK arranged?

a)
b)
c)
d)
64.

Which network size covers small areas such as homes, schools, and buildings?

a)

PAN

b)

LAN

c)

MAN

d)

WAN

65.

The network size which connects two or more personal devices is called a _________________.

a)

PAN

b)

LAN

c)

MAN

d)

WAN

66.

What is the OSI reference model?

a)

A cabling standard for networking

b)

A computer architecture blueprint

c)

A network architecture blueprint

d)

A network device architecture blueprint

67.

The OSI presentation layer...

a)

Segments and delivers data, correcting transmission errors

b)

Opens and maintains comm's channels, authenticating data comm's.

c)

Converts data, encrypts data, and translates data

d)

Manages the user interface and processes data before handing it off to the user

68.

The OSI application layer...

a)

Segments and delivers data, correcting transmission errors

b)

Opens and maintains comm's channels, authenticating data comm's.

c)

Converts data, encrypts data, and translates data

d)

Manages the user interface and processes data before handing it off to the user

69.

The OSI network layer...

a)

Segments and delivers data, correcting transmission errors.

b)

Manages electrical, optical, and radio transmission of data bits

c)

Routes data frames locally and manages local physical addressing

d)

Routes data packets between networks and manages global logical addressing

70.

The OSI transport layer...

a)

Segments and delivers data, correcting transmission errors

b)

Opens and maintains comm's channels, authenticating data comm's.

c)

Converts data, encrypts data, and translates data

d)

Manages the user interface and processes data before handing it off to the user

71.

The OSI physical layer...

a)

Segments and delivers data, correcting transmission errors.

b)

Manages electrical, optical, and radio transmission of data bits

c)

Routes data frames locally and manages local physical addressing

d)

Routes data packets between networks and manages global logical addressing

72.

What does MAC stand for?

a)

media access control

b)

multi access control

c)

media account control

d)

multi address control

73.
Which layer in the OSI model is divided into sublayers Logical Link Control and Media Access Control?
a)
Data Link
b)
Physical
c)
Network
d)
Transport
e)
Presentation
74.

TCP and UDP and most commonly associated with what layer

a)

Datalink

b)

Presentation

c)

Session

d)

Transport

e)

Networking

75.

Which layer in the OSI model covers HTTP, FTP, and RDC?

a)

Physical

b)

Session

c)

Application

d)

Presentation

76.

The layers of the OSI model, from the top down, are:

a)

application, presentation, session, transport, network, data link, physical

b)

session, presentation, data transport, MAC, network, physical

c)

physical, data link, network, transport, session, presentation, application

d)

presentation, application, session, network, transport, data link, physical

e)

application, encryption, network, transport, logical link control, physical

77.

What does SQL stand for?

a)

Structured Query Language

b)

Strong Question Language

c)

Structured Question Language

d)

Strong Query Language

78.

Which SQL statement is used to extract data from a database?

a)

OPEN

b)

SELECT

c)

EXTRACT

d)

GET

79.

Which SQL statement is used to delete data from a database?

a)

DELETE

b)

COLLAPSE

c)

DROP

d)

REMOVE

80.

Which SQL statement is used to update data in a database?

a)

MODIFY

b)

SAVE AS

c)

SAVE

d)

UPDATE

81.

With SQL, how do you select a column named "FirstName" from a table named "Persons"?

a)

SELECT FirstName FROM Persons

b)

SELECT Persons.FirstName

c)

SELECT Persons Where FirstName

d)

SELECT Persons From FirstName

82.

Which SQL statement is used to insert new data in a database?

a)

ADD RECORD

b)

INSERT INTO

c)

ADD NEW

d)

INSERT NEW

83.

With SQL, how do you select all the columns from a table named "Persons"?

a)

SELECT [all] FROM Persons

b)

SELECT Persons

c)

SELECT * FROM Persons

d)

SELECT Persons From Persons

84.

With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is "Peter"?

a)

SELECT * FROM Persons WHERE FirstName<>'Peter'

b)

SELECT * FROM Persons WHERE FirstName LIKE 'Peter'

c)

SELECT * FROM Persons WHERE FirstName='Peter'

d)

SELECT [all] FROM Persons WHERE FirstName='Peter'

85.

The OR operator displays a record if ANY conditions listed are true. The AND operator displays a record if ALL of the conditions listed are true

a)

True

b)

False

c)

Both A and B

d)

None of these

86.

With SQL, how do you select all the records from a table named "Persons" where the "FirstName" is "Peter" and the "LastName" is "Jackson"?

a)

SELECT * FROM Persons WHERE FirstName='Peter' AND LastName='Jackson'

b)

SELECT * FROM Persons WHERE FirstName<>'Peter' AND LastName<>'Jackson'

c)

SELECT FirstName='Peter', LastName='Jackson' FROM Persons

d)

SELECT*FROM Persons WHERE FirstName='Peter' OR LastName='Jackson'

87.

With SQL, how do you select all the records from a table named "Persons" where the "LastName" is alphabetically between (and including) "Hansen" and "Pettersen"?

a)

SELECT LastName>'Hansen' AND LastName<'Pettersen' FROM Persons

b)

SELECT * FROM Persons WHERE LastName>'Hansen' AND LastName<'Pettersen'

c)

SELECT [all] FROM Persons WHERE LastName>'Hansen' AND LastName<'Pettersen'

d)

SELECT * FROM Persons WHERE LastName BETWEEN 'Hansen' AND 'Pettersen'

88.

With SQL, how can you insert a new record into the "Persons" table?

a)

INSERT ('Jimmy', 'Jackson') INTO Persons

b)

INSERT VALUES ('Jimmy', 'Jackson') INTO Persons

c)

INSERT INTO Persons VALUES ('Jimmy', 'Jackson')

d)

INSERT INTO Persons VALUES

89.

With SQL, how can you insert "Olsen" as the "LastName" in the "Persons" table?

a)

INSERT INTO Persons (LastName) VALUES ('Olsen')

b)

INSERT ('Olsen') INTO Persons (LastName)

c)

INSERT INTO Persons ('Olsen') INTO LastName

d)

INSERT IN Persons ('Olsen') TO LastName

90.

Which operator is used to select values within a range?

a)

WITHIN

b)

RANGE

c)

ORDER BY

d)

BETWEEN

91.

Which SQL statement is used to create a database table called 'Customers'?

a)

CREATE TABLE Customers

b)

CREATE DATABASE TABLE Customers

c)

CREATE DATABASE TAB Customers

d)

CREATE DB Customers

92.

which of the following is not a valid SQL commands?

a)

Data Definition Language

b)

Data Manipulation Language

c)

Data Control Language

d)

Data Verification Language

93.

Which is not a DDL Command?

a)

CREATE

b)

ALTER

c)

DROP

d)

UPDATE

94.

Which is not a DML Command?

a)

SELECT

b)

INSERT

c)

ALTER

d)

DELETE

95.

Which of the following is not a valid SQL type?

a)

DECIMAL

b)

NUMERIC

c)

FLOAT

d)

CHARACTER

96.

Which of the following are DCL commands?

a)

COMMIT and ROLLBACK

b)

UPDATE and TRUNCATE

c)

GRANT and REVOKE

d)

SELECT and UPDATE

97.

A function can have _____ inside the parenthesis

a)

loops

b)

Arguments/Parameters

c)

Braces

d)

Types

98.

A function that returns a whole number starts with the word

a)

int

b)

void

c)

string

d)

{ }

99.

Fill in the blank to have this function work properly


_____ function ( ) {


int a = 4;

int b = 5;


cout<<a*b;


}

a)

string

b)

int

c)

void

d)

variable

100.

Fill in the blank to have this function work properly


_____ function ( ) {


string greeting = "Welcome to my game";


return greeting;


}

a)

string

b)

void

c)

int

d)

variable

101.

Select all of the types you may have for a function

a)

string

b)

bool

c)

void

d)

variable

e)

int

102.

What is the meaning of modular programming

a)

data type of the value that function returns to the part of the program that called it

b)

breaking a program up into smaller, manageable functions or modules

c)

one single program without breaking it into module

d)

none of the above

103.

It refers to the part of function heading that specifies an input for the function to perform its task

a)

global variable

b)

function arguments or function parameters

c)

function statements

d)

function heading

104.

This method copies the actual value of an argument into the formal parameter of the function.

a)

call by value

b)

call by pointer

c)

call by reference

105.

It is a type of variable that can only be used within a function

a)

local variable

b)

global variable

c)

parameter variables

d)

constant variable

106.

True or False. We can call functions inside of other functions.

a)

True

b)

False

107.

If an argument from the parameter list of a function is defined constant then _______________

a)

It can be modified inside the function

b)

It cannot be modified inside the function

c)

Error occurs

d)

Segmentation fault

108.

What will be the output of the following C++ code?

a)

10

b)

0

c)

Syntax error

d)

Segmentation fault

109.

Which variable retains its value in  between function calls?

a)

static

b)

register

c)

extern

d)

auto

e)

global

110.

How many values can a C Function return at a time?

a)

only one value

b)

maximum of 2 values

c)

maximum of 3 values

d)

maximum 8 values

111.

C++ is built upon the foundation of C.

a)

True

b)

False

c)

Trulse

d)

I don't know

112.

A programming mechanism that binds together code and the data it manipulates, and that keeps both safe from outside interference and misuse.

a)

Polymorphism

b)

Inheritance

c)

Encapsulation

d)

Object-Oriented Programming

113.

(from Greek meaning “many forms”) is the quality that allows one interface to access a general class of actions.

a)

Polymorphism

b)

Inheritance

c)

Encapsulation

d)

Object-Oriented Programming

114.

Is the process by which one object can acquire the properties of another object.

a)

Polymorphism

b)

Inheritance

c)

Encapsulation

d)

Object-Oriented Programming

115.

C++ is procedure oriented programming & C is object oriented programming.

a)

True

b)

False

c)

Trulse

d)

I don't know

116.

A blueprint for a software object is called a ___.

a)

object

b)

program

c)

API

d)

class

117.

Allows us to consider complex ideas while ignoring irrelevant detail that would confuse us.

a)

Abstraction

b)

Encapsulation

c)

Generalisation

d)

Polymorphism

e)

Object

118.

An _________ is an instance or of a copy of a class.

a)

Class

b)

Attribute

c)

Object

119.

________ is wrapping /hiding of data into a single unit called class

a)

Abstraction

b)

Polymorphism

c)

Encapsulation

d)

Inheritance

120.

__________ refers to the act of representing essential details.

a)

Polymorphism

b)

Abstraction

c)

Inheritance

d)

Encapsulation

121.

__________ is the process of using a function for more than one purpose. It allows the use of different internal structures of the object by keeping the same external interface.

a)

Inheritance

b)

Polymorphism

c)

Abstraction

d)

Encapsulation

122.
These have identitystate, and behavior.
a)
class
b)
object
c)
method
d)
void
123.
Which line of code would you use to print the value of a variable named Result to the screen?
a)
cout << Result << endl;
b)
cin >> "Result" >> endl;
c)
cin >> Result >> endl;
d)
cout << "Result" << endl;
124.
Which of the following approach is adapted by C++?
a)
Top down
b)
Bottom up
c)
Right to left
d)
left right
125.

c++ is an _____________ , developed by ______________ , and is an extension of c language

a)

object oriented program , Bjarane

b)

class and data

c)

complier, interpreter

d)

functions comments

126.

What does modularity means?

a)

Hiding part of program

b)

Subdividing programs into small independent parts

c)

Overriding parts of programs

d)

Wrapping things into single unit?

127.

Which of the following explains Polymorphism?

a)

int func(int, int);

float func1(float, float);

b)

int func(float);

int func(int, int, char);

c)

int func();

int new_func();

d)

int func(int);

int func(int);

128.

Which of the following is C++ equivalent for scanf()?

a)

cout

b)

cin

c)

scanf

d)

input

129.

What is the only function all C++ programs must contain?

a)

start()

b)

system()

c)

main()

d)

program()

130.
What is the output of this program?
Program
int main()
{
cout<<"Hi everybody";
return 0;
}
a)
"Hi everybody"
b)
Hi everybody"
c)
Hi everybody
d)
"Hi everybody