Mode!
Question Paper Computer Science SSC (COMPOSITE)
a FOR ANNUAL EXAMINATION 2026 & ONWARDS. ,
Practical Based Assessment (PBA) sl
Computer Science Curriculum (2025-26)-Scheme of Studies 2009
Total Marks: 40 Time: 2 hours
Note: Attempt all questions and write answers within provided spaces on the E-sheet.
SECTION-A [24 marks]
QNo.1. [6 marks]
a. Debug and correct the following code to produce the given output. [5 marks]
(HINT: the code may contain syntax as well as logical errors)
OUTPUT
// JavaScript program to display the pattern
1/ Define the number of rows OUTPUT
let 4 = rows;// Outer loop for each row
for (let i= rows; i <0; i--) {
let pattern = "" // Initialize an empty string for each row
for (let j = 1; ) <i +44) //Inner loop to generate stars for the current row
pattern +=" ";// Add a star followed by a space}
[Link](pattern); // Print the current row}eee*%
b. Write a simple JavaScript program to calculate the total price of items in a shopping cart. [5 marks]
1. Declare three variables to store the prices of three items (item, item2, item3).
(Let itemt = 20, item? = 60 and item3 =75)
2. Declare a fourth variable, totalPrice, and calculate the total of the three items.
3. Display the value of totalPrice.
b. What does the following JavaScript code prints?
[5 marks]
<script>
function displaySeries()
{
const start = 1; // Starting value
const step = 2; // Step size
const length = 10; // Length of the series
let series = [];
for (let < length; i++)
[Link](start + i * step); // Generate the next value in the series}
document. getElementByld(‘output’).innerText = series join(,}
</script>
QNo.2. [8 marks}
Design a personal portfolio webpage using HTML. The page should include the following elements:
a. Title of the Page: Set an appropriate title for the webpage.
b. Header Section: Include your name and a short introduction about yourself inside a <header> tag.
e. Main Content Section:
i. A profile picture using the <img> tag.
ii. A short biography using paragraphs <p>
iii, A list of your skills using <ul> or <ol>.
d. Navigation Menu: Create a simple navigation menu with links to "Home", "About Me", and "Contact".
e. Add a table showcasing your educational background or work experience.
Atleast 3 columns and 4 rows
QNo.3. [4 marks]
a. Write the CSS code to change the foreground color of header text in above table (Question-II: part-e) to light
blue. [2 marks]
b. Write the CSS code to set the width of an image (Question-II: part-c.i) to 300px and height to 200px. [2 marks]
QNo.4.
a. Design a concept map to issue a book in a library. Include checks for book availability and the maximum number of books a
user can borrow. [2.5 marks]
QNo.5. [5 marks]
Consider the following business idea for Online Food Delivery and prepare the business plan provided below:
A service that delivers fresh, healthy, and affordable meals to busy professionals and students in urban areas.
Customers can place orders through a mobile app with customizable meal options and real-time delivery tracking.
Following are the key features:
Affordable, balanced meal options for breakfast, lunch, and dinner.
Focus on eco-friendly packaging and sustainability.
Real-time order tracking and quick delivery within 30 minutes.