Font size
WorksheetsLast lightning round tests
Total questions: 130
Worksheet time: 22mins
(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?
Find the odd one out.
789
456
123
256
Find the odd pair of letters.
BF
HL
PT
UX
Which one is the odd one?
4-16
3-12
7-28
5-15
when three hundred and fifteen is added to six hundred sixty nine what will be your answer?
nine hundred and eighty four
nine hundred and forty five.
six hundred and twelve
nine hundred and forty eight
Look at this series : 53,53,40,40,27,27,.. What number should come next?
12
14
27
53
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.
Vincent and Thomas live in the same neighborhood
It takes Thomas more than 50 minutes to deliver the papers.
It is dark outside when Vincent begins his deliveries
Thomas would like to have his own paper route.
ELFA, GLHA, ILJA,_____,MLNA
OLPA
KLMA
LLMA
KLLA
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....
True
False
Uncertain
SCD, TEF, UGH, _____, WKL
CMN
UJI
VIJ
IJT
Tanu is 8 years old. She is 4 years older than her brother. How old is her brother?
8 years
4 years
12 years
9 years
DEF : FGH PQR : ?
QRS
RQP
RQS
RST
Which of the following correctly shows the hierarchy of arithmetic operations in C?
/ + * -
* - / +
+ - / *
/ * + -
Which data type is the most suited to store a telephone number in a variable?
string
integer
float
boolean
What is the next number in the series: 2, 4, 8, 16, _____?
36
32
24
20
Maria has 10 apples. She gives 3 apples to her friend. How many apples does she have left?
8 apples
7 apples
5 apples
6 apples
Which of the following is a valid declaration of a float variable in C?
float x = '5';
float x = 5.0;
float 1x;
float x;
If a car travels 120 kilometers in 2 hours, what is its average speed in kilometers per hour?
60 km/h
70 km/h
80 km/h
90 km/h
What is the result of 15% of 200?
20
15
30
25
If a rectangle has a length of 10 cm and a width of 5 cm, what is its area?
50 cm²
55 cm²
60 cm²
45 cm²
Which of these is not a function of an OS:
Provide a user interface
Communicate with hardware
Allow the computer to multi-task
Improves CPU performance
What do device drivers do?
Allows the OS to communicate with hardware
Drives around the motherboard
Increases the amount of storage
Which of these is an advantage to using a command-line interface over a GUI?
More interactive
Easier to use
Less resource heavy
What type of operating system is Windows 10?
Single-user OS
Multi-user OS
Which OSI layer is responsible for ensuring the confidentiality, integrity and authentication of data during communication?
Physical Layer
Data Link Layer
Network Layer
Presentation Layer
In a hybrid network topology that combines star and bus topologies, which layers of the OSI model are primarily affected by this configuration?
Physical Layer and Data Link Layer
Data Link Layer and Network Layer
Network Layer and Transport Layer
Transport Layer and Application Layer
In bipolar line encoding, which voltage level represents a binary "0," and what is its significance in terms of data transmission?
Positive Voltage; It indicates the start of a data frame.
Negative Voltage; It indicates the end of a data frame.
Zero Voltage (No Voltage Change); It helps maintain synchronization.
Positive Voltage; It represents a binary "1" and is used for data transmission.
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?
Circuit switching is highly scalable for a large number of connections.
Circuit switching is inefficient for bursty and sporadic communication patterns.
Circuit switching ensures low latency and minimal call setup time.
Circuit switching is the preferred choice for modern packet-switched networks.
In a packet-switched network, which of the following characteristics best describes the behavior of routers or switches when forwarding data packets?
Routers always store and forward entire packets before making any forwarding decisions.
Routers examine the destination address in the packet header to determine the appropriate outgoing link.
Routers divide incoming data into fixed-size chunks before forwarding.
Switches make real-time decisions on forwarding based on the contents of the entire packet.
In a computer network, which of the following statements is true regarding guided and unguided media?
Guided media is always faster than unguided media.
Unguided media is more secure for data transmission.
Guided media requires physical connections, while unguided media uses wireless transmission.
Both guided and unguided media are immune to electromagnetic interference.
In a computer network, which of the following statements accurately represents the characteristics of digital and analog signals?
Analog signals are immune to noise and interference, while digital signals are more susceptible.
Digital signals are continuous and can represent an infinite range of values, while analog signals are discrete and represent a limited range.
Digital signals are more efficient in terms of bandwidth usage compared to analog signals.
Analog signals are typically used in modern high-speed data transmission technologies, while digital signals are primarily used in older, legacy systems.
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?
Router
Switch
Hub
Bridge
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?
Your computer sends an ARP (Address Resolution Protocol) request to the local router.
Your computer performs a DNS (Domain Name System) resolution to convert the URL to an IP address.
Your computer establishes a TCP (Transmission Control Protocol) connection to the web server.
Your computer sends a DHCP (Dynamic Host Configuration Protocol) request to obtain an IP address.
In a communication scenario where two devices can transmit and receive data but not simultaneously, which mode of communication best describes this setup?
Simplex
Half-Duplex
Full-Duplex
Multiplex
The arrangement of devices in a network is called a Network _________________.
GPS
Topology
Architecture
Hub
What is the name of the topology where devices are connected to a SINGLE CABLE?
Ring Topology
Star Topology
Mesh Topology
Bus Topology
How is a MESH NETWORK arranged?
Which network size covers small areas such as homes, schools, and buildings?
PAN
LAN
MAN
WAN
The network size which connects two or more personal devices is called a _________________.
PAN
LAN
MAN
WAN
What is the OSI reference model?
A cabling standard for networking
A computer architecture blueprint
A network architecture blueprint
A network device architecture blueprint
The OSI presentation layer...
Segments and delivers data, correcting transmission errors
Opens and maintains comm's channels, authenticating data comm's.
Converts data, encrypts data, and translates data
Manages the user interface and processes data before handing it off to the user
The OSI application layer...
Segments and delivers data, correcting transmission errors
Opens and maintains comm's channels, authenticating data comm's.
Converts data, encrypts data, and translates data
Manages the user interface and processes data before handing it off to the user
The OSI network layer...
Segments and delivers data, correcting transmission errors.
Manages electrical, optical, and radio transmission of data bits
Routes data frames locally and manages local physical addressing
Routes data packets between networks and manages global logical addressing
The OSI transport layer...
Segments and delivers data, correcting transmission errors
Opens and maintains comm's channels, authenticating data comm's.
Converts data, encrypts data, and translates data
Manages the user interface and processes data before handing it off to the user
The OSI physical layer...
Segments and delivers data, correcting transmission errors.
Manages electrical, optical, and radio transmission of data bits
Routes data frames locally and manages local physical addressing
Routes data packets between networks and manages global logical addressing
What does MAC stand for?
media access control
multi access control
media account control
multi address control
TCP and UDP and most commonly associated with what layer
Datalink
Presentation
Session
Transport
Networking
Which layer in the OSI model covers HTTP, FTP, and RDC?
Physical
Session
Application
Presentation
The layers of the OSI model, from the top down, are:
application, presentation, session, transport, network, data link, physical
session, presentation, data transport, MAC, network, physical
physical, data link, network, transport, session, presentation, application
presentation, application, session, network, transport, data link, physical
application, encryption, network, transport, logical link control, physical
What does SQL stand for?
Structured Query Language
Strong Question Language
Structured Question Language
Strong Query Language
Which SQL statement is used to extract data from a database?
OPEN
SELECT
EXTRACT
GET
Which SQL statement is used to delete data from a database?
DELETE
COLLAPSE
DROP
REMOVE
Which SQL statement is used to update data in a database?
MODIFY
SAVE AS
SAVE
UPDATE
With SQL, how do you select a column named "FirstName" from a table named "Persons"?
SELECT FirstName FROM Persons
SELECT Persons.FirstName
SELECT Persons Where FirstName
SELECT Persons From FirstName
Which SQL statement is used to insert new data in a database?
ADD RECORD
INSERT INTO
ADD NEW
INSERT NEW
With SQL, how do you select all the columns from a table named "Persons"?
SELECT [all] FROM Persons
SELECT Persons
SELECT * FROM Persons
SELECT Persons From Persons
With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is "Peter"?
SELECT * FROM Persons WHERE FirstName<>'Peter'
SELECT * FROM Persons WHERE FirstName LIKE 'Peter'
SELECT * FROM Persons WHERE FirstName='Peter'
SELECT [all] FROM Persons WHERE FirstName='Peter'
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
True
False
Both A and B
None of these
With SQL, how do you select all the records from a table named "Persons" where the "FirstName" is "Peter" and the "LastName" is "Jackson"?
SELECT * FROM Persons WHERE FirstName='Peter' AND LastName='Jackson'
SELECT * FROM Persons WHERE FirstName<>'Peter' AND LastName<>'Jackson'
SELECT FirstName='Peter', LastName='Jackson' FROM Persons
SELECT*FROM Persons WHERE FirstName='Peter' OR LastName='Jackson'
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"?
SELECT LastName>'Hansen' AND LastName<'Pettersen' FROM Persons
SELECT * FROM Persons WHERE LastName>'Hansen' AND LastName<'Pettersen'
SELECT [all] FROM Persons WHERE LastName>'Hansen' AND LastName<'Pettersen'
SELECT * FROM Persons WHERE LastName BETWEEN 'Hansen' AND 'Pettersen'
With SQL, how can you insert a new record into the "Persons" table?
INSERT ('Jimmy', 'Jackson') INTO Persons
INSERT VALUES ('Jimmy', 'Jackson') INTO Persons
INSERT INTO Persons VALUES ('Jimmy', 'Jackson')
INSERT INTO Persons VALUES
With SQL, how can you insert "Olsen" as the "LastName" in the "Persons" table?
INSERT INTO Persons (LastName) VALUES ('Olsen')
INSERT ('Olsen') INTO Persons (LastName)
INSERT INTO Persons ('Olsen') INTO LastName
INSERT IN Persons ('Olsen') TO LastName
Which operator is used to select values within a range?
WITHIN
RANGE
ORDER BY
BETWEEN
Which SQL statement is used to create a database table called 'Customers'?
CREATE TABLE Customers
CREATE DATABASE TABLE Customers
CREATE DATABASE TAB Customers
CREATE DB Customers
which of the following is not a valid SQL commands?
Data Definition Language
Data Manipulation Language
Data Control Language
Data Verification Language
Which is not a DDL Command?
CREATE
ALTER
DROP
UPDATE
Which is not a DML Command?
SELECT
INSERT
ALTER
DELETE
Which of the following is not a valid SQL type?
DECIMAL
NUMERIC
FLOAT
CHARACTER
Which of the following are DCL commands?
COMMIT and ROLLBACK
UPDATE and TRUNCATE
GRANT and REVOKE
SELECT and UPDATE
A function can have _____ inside the parenthesis
loops
Arguments/Parameters
Braces
Types
A function that returns a whole number starts with the word
int
void
string
{ }
Fill in the blank to have this function work properly
_____ function ( ) {
int a = 4;
int b = 5;
cout<<a*b;
}
string
int
void
variable
Fill in the blank to have this function work properly
_____ function ( ) {
string greeting = "Welcome to my game";
return greeting;
}
string
void
int
variable
Select all of the types you may have for a function
string
bool
void
variable
int
What is the meaning of modular programming
data type of the value that function returns to the part of the program that called it
breaking a program up into smaller, manageable functions or modules
one single program without breaking it into module
none of the above
It refers to the part of function heading that specifies an input for the function to perform its task
global variable
function arguments or function parameters
function statements
function heading
This method copies the actual value of an argument into the formal parameter of the function.
call by value
call by pointer
call by reference
It is a type of variable that can only be used within a function
local variable
global variable
parameter variables
constant variable
True or False. We can call functions inside of other functions.
True
False
If an argument from the parameter list of a function is defined constant then _______________
It can be modified inside the function
It cannot be modified inside the function
Error occurs
Segmentation fault
What will be the output of the following C++ code?
10
0
Syntax error
Segmentation fault
Which variable retains its value in between function calls?
static
register
extern
auto
global
How many values can a C Function return at a time?
only one value
maximum of 2 values
maximum of 3 values
maximum 8 values
C++ is built upon the foundation of C.
True
False
Trulse
I don't know
A programming mechanism that binds together code and the data it manipulates, and that keeps both safe from outside interference and misuse.
Polymorphism
Inheritance
Encapsulation
Object-Oriented Programming
(from Greek meaning “many forms”) is the quality that allows one interface to access a general class of actions.
Polymorphism
Inheritance
Encapsulation
Object-Oriented Programming
Is the process by which one object can acquire the properties of another object.
Polymorphism
Inheritance
Encapsulation
Object-Oriented Programming
C++ is procedure oriented programming & C is object oriented programming.
True
False
Trulse
I don't know
A blueprint for a software object is called a ___.
object
program
API
class
Allows us to consider complex ideas while ignoring irrelevant detail that would confuse us.
Abstraction
Encapsulation
Generalisation
Polymorphism
Object
An _________ is an instance or of a copy of a class.
Class
Attribute
Object
________ is wrapping /hiding of data into a single unit called class
Abstraction
Polymorphism
Encapsulation
Inheritance
__________ refers to the act of representing essential details.
Polymorphism
Abstraction
Inheritance
Encapsulation
__________ 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.
Inheritance
Polymorphism
Abstraction
Encapsulation
c++ is an _____________ , developed by ______________ , and is an extension of c language
object oriented program , Bjarane
class and data
complier, interpreter
functions comments
What does modularity means?
Hiding part of program
Subdividing programs into small independent parts
Overriding parts of programs
Wrapping things into single unit?
Which of the following explains Polymorphism?
int func(int, int);
float func1(float, float);
int func(float);
int func(int, int, char);
int func();
int new_func();
int func(int);
int func(int);
Which of the following is C++ equivalent for scanf()?
cout
cin
scanf
input
What is the only function all C++ programs must contain?
start()
system()
main()
program()
Program
int main()
{
cout<<"Hi everybody";
return 0;
}
