Skip to main content

Posts

Featured

PBA X COMPUTER SCIENCE PAPER WITH SOLUION

  PBA COMPUTER SCIENCE (SSC-II) Total Marks: 30 Time Allowed: 2 Hours Class: X / SSC-II Subject: Computer Science Note: Attempt all questions and write answers clearly within the spaces or sheets provided. SECTION-A [3 x 6 = 18 Marks] Q-1: JavaScript Programming [6 Marks] a. Debug and correct the following JavaScript code so that it displays the largest mark in the list. (HINT: the code may contain syntax as well as logical errors) (3 Marks) let marks = [45, 90, 67, 78 let largest = marks[0]; for (let i = 1; i <= marks.length; i++) {     if (marks[i] < largest)     {         largest = marks[i];     } } document.write("Largest: " + Largest); b. Write a JavaScript program that uses a for loop to print the multiplication table of 7 from 7 x 1 to 7 x 10. (3 Marks) Q-2: HTML Web Design [6 Marks] Design a Student Registration ...

Latest Posts

Which Popular AI Models are the Most Accurate & Reliable?