Hot Hand Emojji Images Intro price. Get Histudy for Big Sale -95% off..

Histudy is a education website template. You can customize all.

Course Content
Conclusion:
0/1
COMPUTER SCIENCE 2210 : OLEVEL : FREE TRIAL

USE CRTL + F5 TO REFRESH IF CONTENT WONT APPEARS

Listen to the instructions given, then complete the given questions to move 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

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.

 

if you have any questions kindly write in Comments, any inappropriate statement will make your account freeze.

EduQuest HQ offers a complete educational journey. From O-levels to university-level programs

Newsletter

Coming Soon

Apply play store
SORT By Rating
SORT By Order
SORT By Author
SORT By Price
SORT By Category