Course Content
Paper 2 – Problem Solving Approach -Practical
0/102
Past Paper-2 May/June 2025
Past Paper-1 May/June 2025
Download Files
0/1
Olevel : Computer Science 2210 / IGCSE 0478 : Recorded

Practice Session 1

USE CRTL + F5 TO REFRESH IF CONTENT WONT APPEARS

Read the instructions carefully, then complete the given questions to proceed to the next lesson.

Practice Session Questions: 

Expected Answers:

Qno 1

DECLARE Length : REAL
DECLARE Width : REAL
DECLARE Area : REAL

Length ← 12.5
Width ← 8.0
Area ← Length * Width

OUTPUT “Area of the rectangle is “, Area

Qno 2:

CONSTANT PI ← 3.1416
DECLARE Radius : REAL
DECLARE Circumference : REAL

Radius ← 7.0
Circumference ← 2 * PI * Radius

OUTPUT “Circumference of the circle is “, Circumference

Qno3:

DECLARE Apples : INTEGER
DECLARE Oranges : INTEGER
DECLARE TotalFruits : INTEGER
DECLARE Difference : INTEGER

Apples ← 25
Oranges ← 18
TotalFruits ← Apples + Oranges
Difference ← Apples – Oranges

OUTPUT “Total number of fruits = “, TotalFruits
OUTPUT “Difference in number of fruits = “, Difference

Apply  Code in Pseudocode Editor Given Below

Instructions:

  • Press the Maximize button to change it to full screen.
  • Delete sample code file from right side
  • Create new file with name of Qno1 and start writing Pseudocode 
  • Construct all the questions given in the interactive book.
  • “<-” use it to put arrows in for the assignment.
  • There are three areas: “files”, “editor”, “Console”

More Questions:

Example 1: Create two variables, num1, num2, and total, assign 35 and 12, respectively, in num1 and num2, and create a third variable, total, which will contain the sum of both variables and display its output. 

First write its pseudocode in your notebook, then try it on Python.

Instructions: click the run button to see its output

Question 1: Calculate the average of the five numbers. First,  state seven variable names from num1 to num5, total, avg, and assign any values to them, calculate the total and average then display the total and average as output.

 

Press the “Mark as Complete” button to finish the lecture.

You cannot copy content of this page