Here are the important short and long questions of Unit 3, Programming Fundamentals, from the Federal Board (FBISE) 10th Class Computer Science course (SSC-II, Matric Part II), solved in full for the Annual Examination 2027.
| Unit | 3: Programming Fundamentals |
|---|---|
| Class | 10th Class (SSC-II), Federal Board |
| Subject | Computer Science |
| Contents | Short and long questions with answers |
| Exam | FBISE Annual Examination 2027 |
Short Questions with Answers: Unit 3
37. Name two technologies used in front-end development. [1+1]
-
HTML (structure of web pages)
-
CSS (styling and layout); also JavaScript (interactivity)
38. Name two technologies used in back-end development. [1+1]
-
Server-side languages: PHP, Python, Node.js, Java.
-
Databases: MySQL, MongoDB.
39. State two key differences between front-end and back-end development. [1+1]
-
Front-end is the part of a website users see and interact with (layout, buttons) built with HTML, CSS, JavaScript; back-end runs on the server and handles data, logic and databases using PHP, Python, SQL.
-
Front-end runs in the browser (client side); back-end runs on the web server (server side).
40. Enlist the scenario in which all the functionality is dealt by the frontend only. [2]
-
A static website, such as a personal portfolio or a simple information page, where content is fixed in HTML/CSS and no database is needed.
-
Browser-based tools like a simple calculator, a quiz or a game written in JavaScript, where all processing happens in the browser.
Long Questions with Answers: Unit 3
9. Why are both front-end and back-end development essential for a dynamic website? Support your answer with examples. [2.5+2.5]
-
A dynamic website shows content that changes according to user input or data (e.g. online shopping, social media), so it needs both parts.
-
Front-end (client side) is what users see and interact with β layout, buttons, forms, menus β built with HTML, CSS and JavaScript; it gives a good user experience.
-
Back-end (server side) stores and processes data, handles logins, payments and database queries, built with PHP, Python, Node.js and MySQL.
-
Example: on Daraz, the front-end shows products and the “Add to cart” button; the back-end checks stock, saves the order and processes payment in the database.
-
Without the front-end users cannot interact, and without the back-end there is no data or functionality, so both work together.
10. Describe the process of website development. (Front-end development and back-end development) [2.5+2.5]
-
Planning: decide the purpose, target audience, content and features; create a site map and wireframes.
-
Front-end development: design and build the user interface using HTML (structure), CSS (style, colours, layout) and JavaScript (interactivity); make it responsive for mobiles.
-
Back-end development: set up the web server, write server-side code (PHP, Python, Node.js) and create the database (MySQL) to store and process data (logins, forms, orders).
-
Testing: check all pages, links and forms on different browsers and devices; fix bugs.
-
Deployment and maintenance: upload the website to a hosting server with a domain name; update content and security regularly.
11. Explain the role of CSS and JavaScript in front-end development. How do these technologies work together? [2+2+1]
-
CSS (Cascading Style Sheets) controls the appearance of web pages: colours, fonts, spacing, layout, and responsive design for different screen sizes.
-
It separates design from content, so many pages can share one style sheet.
-
JavaScript adds interactivity and dynamic behaviour: form validation, image sliders, pop-ups, menus, and updating content without reloading the page.
-
Working together: HTML provides the structure, CSS styles it, and JavaScript changes the HTML and CSS in response to user actions (e.g. clicking a button changes colour or shows a hidden menu).
-
Together they create an attractive, interactive front-end.
12. How are HTML, CSS, JavaScript, Python, and PHP categorized into frontend and backend development? Provide one reason for each. [5]
-
HTML β front-end: it defines the structure and content of web pages (headings, paragraphs, images) displayed in the browser.
-
CSS β front-end: it styles the appearance (colours, layout, fonts) of pages in the browser.
-
JavaScript β mainly front-end: it runs in the browser to make pages interactive (it can also be used on the back-end with Node.js).
-
Python β back-end: it runs on the server for processing data, logic and database work (e.g. Django, Flask).
-
PHP β back-end: a server-side scripting language that processes forms, connects to databases (MySQL) and generates dynamic pages.
You can find the other units of 10th Class Computer Science on the main page: FBISE 10th Class Computer Science short and long questions, all units.
Questions follow the FBISE SSC-II Computer Science syllabus and paper pattern. Please confirm all dates and figures on the official website: www.fbise.edu.pk
Need help with 10th Class Computer Science? Join our live online classes for the Federal Board. Book a free demo class.

Ask a question about this topic