Computer Science Class X Model Paper II (CRQ & ERQ)
Loading paper…
Loading paper…
1. Check your name and school information. Sign if it is accurate.
2. There are SEVEN questions. Answer ALL questions. Questions 6 & 7 each offer TWO choices. Attempt any ONE choice from each.
3. When answering the questions:
Read each question carefully.
Use a black pointer to write your answers. DO NOT write your answers in pencil.
Use a black pencil for diagrams. DO NOT use coloured pencils.
DO NOT use staples, paper clips, glue correcting fluid, or ink erasers.
Complete your answer in the allocated space only. DO NOT write outside the answer box.
4. The marks for the questions are shown in brackets ( ).
5. You may use a simple calculator if you wish.
for loop to print the first 10 natural numbers.prompt( ) function to read a number from the user and display whether it is even or odd.switch statement to display:"Add Record" for option 1"Update Record" for option 2"Delete Record" for option 3"View Record" for option 4"Invalid Option Selected" if the entered value does not match any case.for loop:n representing the number of students."Total Marks: total""Average Marks: average"n, display "Invalid number of students".