1 Which error occurs due to wrong program logic? A Syntax error B Logical error C Runtime error D System error
2 Yusuf is creating a website. He wants to define a style that applies to all paragraphs with class 'highlight'. Which CSS selector should he use? A p.highlight B .highlight p C p#highlight D highlight
4 George is creating a website. He wants to add a comment in his HTML code to remind himself to update a link later. Which syntax should he use? A <!-- Update link --> B /* Update link */ C // Update link D # Update link
5 Which CSS property is used to change background color? A color B background-color C bgcolor D style
7 David is designing a website for his school project. He wants to add an image of the school logo. He knows the image file is named 'logo.png' and is in the same folder as his HTML file. What HTML code should David use to insert the image? A <image src='logo.png'> B <img href='logo.png'> C <img src='logo.png' alt='School Logo'> D <picture src='logo.png'>
8 Why is Big Data important? A It wastes time B It increases paperwork C It helps in better decision making D It deletes information
9 In CSS, which of the following defines a class selector? A A selector starting with a hash (#) B A selector starting with a period (.) C An HTML tag name D A selector starting with an asterisk (*)
10 JavaScript is mainly used for: A Styling pages B Database management C Making web pages dynamic D Creating hardware
13 Which HTML tag is used to define the most important heading on a webpage? A <h1> B <h6> C <head> D <p>
14 What is an example of unstructured data? A Emails B Database tables C Excel spreadsheets D CSV files
15 What is the process of finding and fixing errors in a computer program's source code called? A Compiling B Executing C Styling D Debugging
17 Which term refers to the process of inspecting, cleaning, transforming, and modeling data to discover useful information and support decision-making? A Data Analysis B Data Storage C Data Entry D Data Collection
18 Umar is debugging a JavaScript program that calculates the area of a rectangle. The formula is length * width. He gets NaN as output. What could be the reason? A One of the variables is a string B Variables are not defined C He used + instead of * D All of the above
20 Huda is analyzing social media posts to understand public opinion. The posts contain text, emojis, and hashtags. What type of data is this? A Structured B Unstructured C Semi-structured D Numerical
21 Data that is descriptive and represents categories, such as gender or city names, is called: A Quantitative data B Qualitative data C Numerical data D Time-series data
23 What is the role of data in decision making? A No role B Creates confusion C Provides evidence D Deletes choices
24 Which keyword is used to declare a variable in JavaScript whose value can be reassigned? A const B var C let D static
25 Faisal is working with a dataset that has 5 billion records. This is an example of? A Small data B Big Data C Medium data D Sample data