51. The tag for an unordered list is
Answer: B. <ul>
65 multiple choice questions with the correct answer for each. Tap an option to check yourself, or switch on "Show all answers". This is page 2 of 2.
51. The tag for an unordered list is
Answer: B. <ul>
52. The tag for an ordered (numbered) list is
Answer: D. <ol>
53. Each item in a list is written with the tag
Answer: A. <li>
54. A block of code that is used repeatedly for a particular operation is a
Answer: C. function
55. A list is an
Answer: D. Abstract Data Type (ADT)
56. In an array, elements are stored in memory at
Answer: B. contiguous locations
57. In a list, memory locations are
Answer: D. not necessarily contiguous
58. Searching a list by checking every item one by one is called
Answer: A. linear (sequential) search
59. A unit test is used to
Answer: C. test individual parts of the code for correctness
60. A unit test for findItem("milk") on an array containing milk expects
Answer: B. true
61. A unit test for a non-existing item such as "eggs" expects
Answer: A. false
62. A breakpoint
Answer: D. pauses the application at a chosen line so the code can be examined
63. A watchpoint
Answer: C. pauses the program when a rule on a variable or expression is met
64. In debug mode, Step-Over is used for
Answer: B. line by line execution
65. To manually stop JavaScript execution at a certain point, you can use
Answer: C. debugger
These 65 Computer Science MCQs cover Class 10 Unit 3: Programming Fundamentals of the Federal Board (FBISE) SSC-II (Class 10) syllabus. They are SLO-based MCQs as per the new pattern for FBISE exams. Each question has four options and the correct answer is shown, so you can practise for the annual examination and find the topics you still need to revise. The questions are split over 2 pages of 50. Download the Programming Fundamentals MCQs as a PDF using the button at the top of this page.