Class 9 Computer Science Chapter 3 – Programming Fundamentals MCQs (FBISE)

Description: Practice Class 9 Computer Science Chapter 3 MCQs on Programming Fundamentals according to the latest FBISE syllabus. These exam-oriented questions cover HTML, CSS, JavaScript, web pages, and static and dynamic websites.

1. HTML stands for:

A) HyperText Markup Language
B) HighText Machine Language
C) Hyper Transfer Machine Language
D) Hyper Tool Markup Language

2. HTML is mainly used to:

A) Create databases
B) Design operating systems
C) Structure web pages
D) Develop antivirus software

3. Which tag is used to create the largest heading in HTML?

A) <head>
B) <h1>
C) <title>
D) <h6>

4. CSS stands for:

A) Computer Style Sheets
B) Creative Style System
C) Colorful Style Sheets
D) Cascading Style Sheets

5. CSS is mainly used to:

A) Control the appearance of web pages
B) Create databases
C) Store files
D) Connect to the internet

6. JavaScript is commonly used to make web pages:

A) Printed
B) Encrypted
C) Interactive
D) Offline only

7. Which HTML tag is used to create a paragraph?

A) <br>
B) <p>
C) <div>
D) <span>

8. The visible content of a web page is usually placed inside the:

A) <head>
B) <meta>
C) <title>
D) <body>

9. Which tag creates a hyperlink in HTML?

A) <a>
B) <img>
C) <table>
D) <link>

10. A website with fixed content that rarely changes is called:

A) Dynamic website
B) Responsive website
C) Static website
D) Cloud website

11. Which language is primarily responsible for styling web pages?

A) HTML
B) CSS
C) SQL
D) Python

12. Which of the following can respond to user actions like button clicks?

A) HTML only
B) CSS only
C) XML
D) JavaScript

13. Which HTML tag is used to insert an image?

A) <img>
B) <picture>
C) <image>
D) <src>

14. Which section of an HTML document contains information like the page title?

A) <footer>
B) <body>
C) <head>
D) <main>

15. JavaScript code is executed mainly by the:

A) Printer
B) Web browser
C) Scanner
D) Hard disk

16. Which type of website can generate content based on user interaction?

A) Static website
B) Printed website
C) Offline website
D) Dynamic website

17. Which technology provides the basic structure of a web page?

A) HTML
B) CSS
C) JavaScript
D) SQL

18. Which HTML tag is used to create a line break?

A) <hr>
B) <break>
C) <br>
D) <lb>

19. Which CSS property is commonly used to change the text color?

A) color
B) font-size
C) background
D) text-align

20. JavaScript is primarily used to:

A) Store databases
B) Create operating systems
C) Replace HTML
D) Add interactivity to web pages

21. Which HTML element is used to display tabular data?

A) <list>
B) <table>
C) <grid>
D) <section>

22. Which attribute specifies the destination of a hyperlink?

A) src
B) link
C) href
D) target

23. A CSS file is commonly linked using which HTML tag?

A) <link>
B) <stylefile>
C) <script>
D) <css>

24. Which symbol is commonly used to end a JavaScript statement?

A) :
B) ,
C) ?
D) ;

25. Which of the following is an example of a dynamic website?

A) A simple personal HTML page
B) An online shopping website
C) A printed brochure
D) A PDF document

26. Which HTML tag defines the title shown on the browser tab?

A) <meta>
B) <h1>
C) <title>
D) <caption>

27. CSS helps separate:

A) Content from presentation
B) Hardware from software
C) Input from output
D) Data from memory

28. Which JavaScript feature allows a webpage to respond immediately to user actions?

A) File Compression
B) Data Backup
C) Memory Management
D) Event Handling

29. Which HTML tag is commonly used to create an unordered list?

A) <ol>
B) <ul>
C) <dl>
D) <li>

30. Which language is interpreted directly by most web browsers for client-side scripting?

A) C++
B) Java
C) JavaScript
D) SQL

31. Which HTML tag is used to create a clickable button?

A) <button>
B) <click>
C) <inputbutton>
D) <action>

32. Which of the following best describes a static website?

A) It changes content for every visitor automatically
B) It requires a database for every page
C) It always uses Artificial Intelligence
D) It usually displays the same content to all visitors

33. Which CSS property is used to change the background color of an element?

A) color
B) background-color
C) text-color
D) font-color

34. Which of the following is NOT a web programming technology covered in this chapter?

A) HTML
B) CSS
C) MySQL Server Administration
D) JavaScript

35. Which HTML tag is used to create a numbered list?

A) <ol>
B) <ul>
C) <li>
D) <list>

36. Which HTML tag is used to define a list item?

A) <item>
B) <list>
C) <li>
D) <dl>

37. Which CSS property changes the size of text?

A) text-size
B) font-size
C) size
D) text-style

38. Which symbol is commonly used in JavaScript to write comments on a single line?

A) ##
B) **
C) <!– –>
D) //

39. Which HTML tag is used to create a table row?

A) <tr>
B) <td>
C) <th>
D) <row>

40. Which technology is mainly responsible for changing the layout and colors of a webpage?

A) JavaScript
B) HTML
C) CSS
D) SQL

41. Which of the following is an advantage of using external CSS?

A) It increases page loading time
B) It allows one stylesheet to style multiple pages
C) It replaces HTML completely
D) It disables JavaScript

42. Which JavaScript function is commonly used to display a message box?

A) print()
B) display()
C) show()
D) alert()

43. Which HTML tag is used to create a text input field in a form?

A) <input>
B) <text>
C) <textareafield>
D) <textbox>

44. Which combination is commonly used to build interactive web pages?

A) HTML and SQL only
B) CSS and Excel
C) HTML, CSS, and JavaScript
D) Python and BIOS

45. In a web page, CSS rules are applied to:

A) Increase storage space
B) Control presentation and formatting
C) Manage databases
D) Encrypt files

46. Which type of website usually interacts with databases and user input?

A) Static website
B) Offline website
C) Read-only website
D) Dynamic website

47. The primary purpose of JavaScript in web development is to:

A) Add behavior and interactivity to web pages
B) Replace CSS completely
C) Store images permanently
D) Connect network cables

48. Which HTML tag is used to create a clickable hyperlink to another webpage?

A) <link>
B) <url>
C) <a>
D) <connect>

49. Which of the following best describes HTML?

A) A programming language for calculations
B) A markup language for creating web page structure
C) A database management system
D) A computer operating system

50. HTML, CSS, and JavaScript together are primarily used to:

A) Design and develop modern websites
B) Manufacture computer hardware
C) Create antivirus software only
D) Format hard drives

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top