1 What is programming? A Designing pictures B Writing instructions for a computer C Using the internet D Typing documents
3 HTML stands for: A High Text Markup Language B Hyper Text Markup Language C Hyper Tool Mark Language D Home Text Markup Language
7 What is the main purpose of CSS? A To create databases B To style web pages C To write logic D To connect servers
8 CSS stands for: A Creative Style Sheets B Cascading Style Sheets C Computer Style Sheets D Colorful Style Sheets
9 Which CSS property is used to change text color? A font-style B background-color C color D text-align
13 JavaScript is mainly used for: A Styling pages B Database management C Making web pages dynamic D Creating hardware
16 Which function is used to display a message box in JavaScript? A message() B alert() C display() D show()
19 Which error occurs due to wrong program logic? A Syntax error B Logical error C Runtime error D System error
20 Which error is caused by incorrect grammar of code? A Logical error B Runtime error C Syntax error D Network error
21 What is a dynamic website? A Website with fixed content B Website that never changes C Website that responds to user actions D Website without design
22 Which combination is used to create a dynamic website? A HTML only B HTML and CSS C HTML, CSS, and JavaScript D CSS only
27 Which CSS property is used to change background color? A color B background-color C bgcolor D style
33 Which error appears while a program is running? A Syntax error B Logical error C Runtime error D Typing error
43 Which website updates content without reloading the page? A Static website B Offline website C Dynamic website D Local website
45 Which property is used in CSS to change the background color of an element? A color B font-color C background-color D bgcolor
46 Which tag is used to embed JavaScript code within an HTML file? A <javascript> B <js> C <scripting> D <script>
48 A website that displays the same content for every user is called a: A Dynamic website B Static website C Interactive website D Responsive website
49 The process of finding and fixing errors in a program's source code is known as: A Compiling B Running C Debugging D Designing
50 Which language is primarily used for adding interactivity and client-side functionality to a web page? A JavaScript B HTML C CSS D SQL
53 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 (*)
54 Which JavaScript function is commonly used to display a pop-up box with a message? A msg() B console.log() C alert() D display()
55 Which tag is used to define an unordered list (a bulleted list) in HTML? A <ol> B <li> C <list> D <ul>
56 What does HTML stand for? A Hyper Text Markup Language B High-Level Text Machine Language C Hyperlink and Text Markup Language D Home Tool Markup Language
57 In CSS, which property is used to change the text color of an element? A font-color B color C text-color D font-style
58 Which keyword is used to declare a variable in JavaScript whose value can be reassigned? A const B var C let D static
59 The process of finding and fixing errors or bugs in a program's source code is called: A Compiling B Interpreting C Executing D Debugging
61 How do you select an HTML element with the id 'header' in CSS? A .header B #header C header D *header
62 What is the correct HTML for referring to an external script called 'script.js'? A <script href='script.js'> B <script name='script.js'> C <script src='script.js'> D <javascript src='script.js'>
63 Which of the following is primarily a client-side scripting language used to make web pages interactive? A Python B PHP C SQL D JavaScript
64 Which tag is used to define the most important heading in an HTML document? A <h1> B <head> C <h6> D <heading>
65 Where in an HTML document is the correct place to refer to an external style sheet? A In the <body> section B In the <head> section C At the end of the document D In the <footer> section
67 What type of error occurs when a program runs without crashing but does not produce the expected or correct result? A Syntax Error B Runtime Error C Compile-time Error D Logical Error
68 Which HTML tag is used to define the most important heading on a webpage? A <h1> B <h6> C <head> D <p>
69 Which HTML tag is used to link an external CSS file to an HTML document? A <script> B <link> C <style> D <css>
70 What is the primary purpose of JavaScript in web development? A To define the content and structure of a web page. B To style the visual presentation of a web page. C To add interactivity and dynamic behavior to a web page. D To store data on a server.
71 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
72 Which HTML attribute is used to define inline styles in a single element? A style B class C styles D font
73 In CSS, which selector is used to style a single, unique element on a page? A Class selector (.) B Tag selector (e.g., p) C ID selector (#) D Universal selector (*)