1.
Which sorting algorithm repeatedly swaps adjacent elements?
A
Selection sort
B
Insertion sort
C
Bubble sort
D
Merge sort
2.
Which component manages computer hardware?
A
Application software
B
Utility software
C
Operating system
D
Compiler
3.
Which JavaScript statement stops a loop?
A
stop
B
exit
C
break
D
end
4.
Which concept improves program readability?
A
Errors
B
Modular design
C
Counting
D
Randomization
5.
How many bits make one byte?
6.
Which principle helps in solving basic counting problems?
A
Logical fallacy
B
Counting principle
C
Flowchart principle
D
Debugging principle
7.
What type of data is represented using numbers?
A
Qualitative data
B
Quantitative data
C
Text data
D
Image data
8.
In which stage of the data science life cycle are models built to find patterns?
A
Data Analysis
B
Data Collection
C
Problem Definition
D
Data Deletion
9.
Which stage comes after data collection?
A
Data cleaning
B
Data visualization
C
Deployment
D
Decision making
10.
Which is the final step of problem solving?
A
Understanding
B
Designing
C
Testing and evaluation
D
Abstraction
11.
Which number system is easiest for humans?
A
Binary
B
Octal
C
Decimal
D
Hexadecimal
12.
Which field combines statistics, programming, and domain knowledge?
A
Networking
B
Web development
C
Data science
D
Cyber security
13.
Machine language is written in?
A
English
B
Symbols
C
Binary
D
Decimal
14.
Which letters are used in hexadecimal system?
A
A to F
B
A to Z
C
B to G
D
F to Z
15.
What is the main role of a data scientist?
A
To repair computer hardware.
B
To design computer motherboards.
C
To analyze data and find useful insights.
D
To manage the school's computer lab.
16.
Which characteristic of an algorithm means it must stop after a certain number of steps?
A
Input
B
Output
C
Finiteness
D
Effectiveness
17.
Which chart shows parts of a whole?
A
Line chart
B
Bar chart
C
Pie chart
D
Scatter plot
18.
What is the smallest unit of data that a computer can process and store?
A
Byte
B
Kilobyte
C
Megabyte
D
Bit
19.
In programming, a set of step-by-step instructions to solve a problem is called a/an:
A
Variable
B
Function
C
Comment
D
Algorithm
20.
Which skill is essential for a data scientist?
A
Drawing skills
B
Statistical analysis
C
Hardware repair
D
Typing speed
21.
Which number system uses digits from 0 to 7?
A
Binary
B
Decimal
C
Octal
D
Hexadecimal
22.
Which of the following is NOT a step in algorithm design?
A
Understanding problem
B
Designing solution
C
Executing hardware
D
Testing
23.
What is the main purpose of Data Visualization?
A
To store data in a database.
B
To make the computer run faster.
C
To represent data graphically for easy understanding.
D
To write complex algorithms.
24.
Breaking down a large problem into smaller, more manageable sub-problems is known as what?
A
Abstraction
B
Generalization
C
Modular Design
D
Dry Run
25.
Which JavaScript method is used to find the length of an array?
A
size()
B
count()
C
length
D
total()
26.
What is the first and most important step in solving a computational problem?
A
Writing the code
B
Testing the algorithm
C
Designing the algorithm
D
Understanding and defining the problem
27.
What is an algorithm dry run?
A
Writing an algorithm
B
Executing algorithm step by step manually
C
Deleting algorithm
D
Compiling code
28.
Which software helps maintain system performance?
A
Application software
B
Utility software
C
Operating system
D
Compiler
29.
What is the name of the process where you manually test an algorithm with sample data to check its logic?
A
Abstraction
B
Modular Design
C
Generalization
D
Dry Run
30.
Which CSS property is used to align text?
A
align
B
text-align
C
font-align
D
position
31.
Which CSS property is used to make text bold?
A
font-style
B
text-weight
C
font-weight
D
bold
32.
In JavaScript, what is used to make decisions and execute different code based on a condition?
A
A loop
B
A function
C
A variable
D
An if-else statement
33.
Which JavaScript loop runs at least once?
A
for
B
while
C
do-while
D
foreach
34.
Binary number system is based on which digits?
A
0 and 9
B
1 and 2
C
0 and 1
D
2 and 3
35.
What is an error in the code's grammar or spelling called?
A
Runtime error
B
Logical error
C
Syntax error
D
User error
36.
Which of the following is a common way to visually represent data?
A
Writing a long paragraph.
B
Creating a bar chart.
C
Recording an audio file.
D
Sending a text message.
37.
Which HTML tag is used to create a hyperlink?
A
<link>
B
<a>
C
<href>
D
<url>
38.
Which CSS property controls the size of text?
A
text-size
B
font-weight
C
font-size
D
text-style
39.
Which type of software is Windows?
A
Application software
B
Utility software
C
System software
D
Firmware
40.
Abstraction in computing means:
A
Adding extra details
B
Removing unnecessary details
C
Writing code
D
Testing software
41.
Counting problems are mainly used to:
A
Store data
B
Calculate the number of possible outcomes
C
Design hardware
D
Write algorithms
42.
Which HTML tag is used to create a table row?
A
<td>
B
<th>
C
<tr>
D
<table>