1.
Which JavaScript keyword is used to define a function?
A
method
B
define
C
function
D
func
2.
What is a set of step-by-step instructions for a computer to solve a problem called?
A
An algorithm
B
A variable
C
A syntax
D
A comment
3.
In JavaScript, which keyword is used to declare a variable that can be changed later?
A
let
B
const
C
var
D
variable
4.
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
5.
Which testing ensures the program meets user requirements?
A
Unit testing
B
Integration testing
C
System testing
D
Acceptance testing
6.
What is the final stage of the data science life cycle?
A
Data collection
B
Data cleaning
C
Decision making or deployment
D
Data visualization
7.
Which of the following is an example of data?
A
Student marks list
B
Final report
C
Decision
D
Conclusion
8.
What does data collection involve?
A
Presenting data in charts
B
Gathering raw data from sources
C
Deleting data
D
Printing reports
9.
Which JavaScript method is used to add a new item to the end of an array?
A
shift()
B
pop()
C
push()
D
join()
10.
What helps users quickly grasp complex data?
A
Raw tables
B
Long text
C
Data visualization
D
Manual calculations
11.
Which tool in a web browser helps developers see errors and messages from their JavaScript code?
A
The address bar
B
The console
C
The settings menu
D
The history tab
12.
Which chart is best for showing parts of a whole, like the percentage of students who like different fruits?
A
Line chart
B
Scatter plot
C
Flowchart
D
Pie chart
13.
Which skill is essential for a data scientist?
A
Drawing skills
B
Statistical analysis
C
Hardware repair
D
Typing speed
14.
What does 'data' mean in the context of data science?
A
Only pictures and videos.
B
A collection of facts, such as numbers, words, or measurements.
C
Only the software on a computer.
D
The physical parts of a computer like the mouse and keyboard.
15.
Why is data cleaning necessary?
A
To add errors
B
To improve data quality
C
To increase file size
D
To slow processing
16.
A chart that shows data as a circle divided into slices is called a...?
A
Line graph.
B
Bar chart.
C
Pie chart.
D
Flowchart.
17.
Which software is commonly used for basic data visualization?
A
Spreadsheet software
B
Operating system
C
Antivirus software
D
Compiler
18.
What is the first stage of the data science life cycle?
A
Data visualization
B
Data collection
C
Model deployment
D
Data cleaning
19.
Which of these is a common type of chart used for data visualization?
A
A text document.
B
An audio file.
C
A computer program.
D
A bar chart.
20.
Which field combines statistics, programming, and domain knowledge?
A
Networking
B
Web development
C
Data science
D
Cyber security
21.
Which HTML tag is used to create a link to another web page?
A
<link>
B
<img>
C
<p>
D
<a>
22.
Which JavaScript function displays a message box?
A
prompt()
B
confirm()
C
alert()
D
message()
23.
What is the output of a Boolean expression?
A
Number
B
String
C
True or False
D
Character
24.
What is data visualization?
A
Storing data in files
B
Representing data in graphical form
C
Deleting unwanted data
D
Writing algorithms
25.
What is Data Science?
A
The art of drawing pictures on a computer.
B
The process of building computer hardware.
C
The study of data to find useful information and patterns.
D
The process of creating animations and games.
26.
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.
27.
What type of data is represented using numbers?
A
Qualitative data
B
Quantitative data
C
Text data
D
Image data
28.
Which CSS property is used to make text bold?
A
font-style
B
text-weight
C
font-weight
D
bold
29.
Which HTML tag is used to create an unordered list?
A
<ol>
B
<ul>
C
<li>
D
<list>
30.
Which testing method checks individual units of code?
A
System testing
B
Integration testing
C
Unit testing
D
Acceptance testing
31.
The process of removing errors and inconsistencies from data is called?
A
Data Cleaning.
B
Data Collection.
C
Data Modeling.
D
Data Visualization.
32.
Which of the following is the first step in the Data Science Life Cycle?
A
Building a model.
B
Collecting data.
C
Visualizing data.
D
Cleaning data.
33.
Which algorithm compares each element with all others?
A
Binary search
B
Linear search
C
Quick sort
D
Merge sort
34.
What is meant by data analysis?
A
Collecting data
B
Storing data
C
Examining data to draw conclusions
D
Deleting data
35.
Which chart shows parts of a whole?
A
Line chart
B
Bar chart
C
Pie chart
D
Scatter plot
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.
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
38.
Which algorithm is best for large sorted data?
A
Linear search
B
Binary search
C
Bubble sort
D
Insertion sort
39.
Which JavaScript method converts text to a number?
A
Number()
B
String()
C
parseText()
D
toString()
40.
Which tool in a web browser is most commonly used by developers to find and fix errors in JavaScript code?
A
The browser's console
B
The history tab
C
The settings menu
D
The bookmarks bar
41.
Which language is used to define the structure and content of a web page?
A
CSS
B
JavaScript
C
HTML
D
Python
42.
In HTML5, which tag is used to define a footer for a document or a section?
A
<bottom>
B
<footer>
C
<end>
D
<section>