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

Description: Practice Class 10 Computer Science Chapter 3 MCQs on Programming Fundamentals. These important objective questions are based on FBISE exam pattern and include HTML, CSS, JavaScript basics, programming constructs, and debugging techniques.

1. HTML stands for:

A) Hyper Text Markup Language
B) High Text Machine Language
C) Hyperlink Text Management Language
D) Home Tool Markup Language

2. CSS is mainly used for:

A) Database management
B) Styling web pages
C) Virus protection
D) Hardware control

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

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

4. JavaScript is mainly used to make web pages:

A) Printed
B) Static
C) Hidden
D) Interactive

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

A) <p>
B) <h1>
C) <img>
D) <br>

6. Which tag is used to insert an image in HTML?

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

7. Which attribute specifies image source in HTML?

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

8. Which CSS property changes text color?

A) color
B) background
C) font-size
D) margin

9. Which symbol is used for comments in JavaScript?

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

10. Which HTML tag creates a line break?

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

11. Which tag contains webpage title?

A) <title>
B) <body>
C) <h1>
D) <p>

12. JavaScript code is usually written inside:

A) <style>
B) <head>
C) <script>
D) <link>

13. Which HTML tag creates a hyperlink?

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

14. Which CSS property changes background color?

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

15. Which symbol ends a JavaScript statement?

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

16. Which HTML section contains visible webpage content?

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

17. Which programming structure repeats instructions?

A) Sequence
B) Loop
C) Decision
D) Variable

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

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

19. Which HTML tag represents a list item?

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

20. Which CSS property changes text size?

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

21. JavaScript is executed on the:

A) Printer
B) Server only
C) Scanner
D) Browser

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

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

23. Which tag is used to create a table cell?

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

24. Which JavaScript function displays output in alert box?

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

25. Which HTML tag is used to insert horizontal line?

A) <hr>
B) <br>
C) <line>
D) <hl>

26. Which symbol is used for CSS ID selector?

A) .
B) *
C) @
D) #

27. Which JavaScript keyword declares a variable?

A) int
B) var
C) define
D) value

28. Which tag is used for ordered list in HTML?

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

29. Which programming structure is used for decision making?

A) Loop
B) Sequence
C) Selection
D) Variable

30. Which operator is used for comparison in JavaScript?

A) +
B) *
C) /
D) ==

31. Which HTML tag creates a form?

A) <form>
B) <input>
C) <table>
D) <body>

32. Which input type hides typed password characters?

A) text
B) password
C) hidden
D) secure

33. Which JavaScript loop repeats code multiple times?

A) if
B) else
C) for
D) break

34. Which HTML tag is used to create a button?

A) <input-button>
B) <click>
C) <press>
D) <button>

35. Which CSS property aligns text?

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

36. Which JavaScript statement is used for conditional execution?

A) loop
B) if
C) repeat
D) print

37. Which HTML tag is used for inserting comments?

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

38. Which CSS property changes font style?

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

39. Which JavaScript function writes output on webpage?

A) document.write()
B) print()
C) alert()
D) show()

40. Which HTML tag defines the beginning of an HTML document?

A) <head>
B) <html>
C) <body>
D) <start>

41. Which operator is used for addition in JavaScript?

A) *
B) /
C) +
D) ==

42. Which HTML element is used for webpage metadata?

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

43. Which loop is commonly used when repetitions are known?

A) for loop
B) if statement
C) switch statement
D) break statement

44. Which CSS property adds space outside an element?

A) padding
B) margin
C) border
D) spacing

45. Which JavaScript keyword stops a loop?

A) continue
B) stop
C) exit
D) break

46. Which HTML tag is used to create a checkbox?

A) <check>
B) <box>
C) <input type=”checkbox”>
D) <tick>

47. Which CSS property changes element border color?

A) border-color
B) color-border
C) frame-color
D) outline-color

48. Which JavaScript statement skips current loop iteration?

A) break
B) continue
C) stop
D) skip

49. Which HTML tag is used to make text bold?

A) <i>
B) <u>
C) <b>
D) <bold>

50. Programming fundamentals mainly help students to:

A) Repair monitors
B) Assemble hardware
C) Manufacture chips
D) Understand coding concepts and web development

Leave a Comment

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

Scroll to Top