Saturday, February 26, 2022

PRACTICAL’S FOR COMPUTER SCIENCE GRADE IX (9th) PUNJAB CURRICULUM AND TEXTBOOK BOARD, LAHORE

 

9th exercises (Suggested Practical’s)

1.         Draw a flowchart that calculates the sum and product of two numbers.

 

2.         Draw a flowchart that calculates the difference and division of two numbers.

 

3.         Draw a flowchart that calculates the modulus of an integer with respect to another integer.

 

4.         Draw a flowchart that calculates the sum and average of three numbers.

 

5.         Draw a flowchart that calculates the cube of a number.

 

6.         Draw a flowchart that calculates the area of a rectangle

 

7.         Draw a flowchart that calculates the area of a triangle when three sides are given.

 

8.         Draw a flowchart that calculates the area and circumference of a circle.

 

9.         Draw a flowchart that calculates the area and perimeter of a square when one side is given

 

10.     Draw a flowchart that calculates the volume of a cylinder

 

11.     Draw a flowchart that calculates the surface area and volume of a cube.

 

12.     Draw a flowchart that converts the temperature from centigrade to Fahrenheit

 

13.     Draw a flowchart that converts the temperature from Fahrenheit to centigrade

 

14.     Write a program to print the distance covered by a car having an average speed.

 

15.     Draw a flowchart that takes a number as input and displays whether it is even or odd.

 

16.     Draw a flowchart that takes three numbers as input and displays the largest among them.

17.     Draw a flowchart that takes a number as input and prints an error message if the number is not 1 or 2.

18.     Draw a flowchart that takes three integers as input and displays the largest two.

 

19.     Draw a flowchart that prints the grade of a student.

 

20.     Draw a flowchart that prints first 10 integers using loop.

 

21.     Draw a flowchart that prints even numbers from 1 to 10

 

22.     Draw a flowchart that prints odd numbers from 1 to 10

 

23.     Draw a flowchart that takes a number as an input and prints its multiplication table up to 10.

 

24.     Draw a flowchart that takes a number as an input from the user and prints its factorial

25.     Draw a flowchart that takes two numbers as input and prints the multiplication table of the first number up to the second number.

26.     Draw a flowchart that prints integers from 10 to 1 (reverse order, using loop).

27.     Draw a flowchart that takes input “n” from the user and prints the sum of first “n” numbers and their average.

28.     Draw a flowchart that takes a number “n” as input from the user and prints the first “n” numbers of Fibonacci series.

29.     Draw a flowchart that takes a number “n” as input from the user and prints triangle of stars, having rows equal to “n”.

30.     Draw a flowchart that takes few numbers as input from the user and prints them in reverse order.

31.     Draw a flowchart that takes few numbers as input from the user and prints the minimum and maximum among them.

 

32.     Draw a flowchart that takes 10 numbers as input from the user and print all the odd ones.

 

33.     Draw a flowchart that takes a number as input and prints its binary representation.

 

34.     Draw a flowchart that takes input from the user and converts it into its ASCII.

 

35.     Draw a flowchart that takes two numbers “m” and “n” as input from the user and calculates

“m” to the power of “n”.

36.     Draw a flowchart that takes two numbers as input calculates the GCD of the numbers using Euclidean algorithm.

37.     Draw a flowchart that takes a 5 digit integer as input and reverses its presentation. For example, “54321” will become “12345”.

 

38.     Draw a system of flowcharts that take inputs from the user and perform the basic arithmetic operations on them using a modular approach. (A simple calculator).

39.     Draw a flowchart that can take maximum 20 characters from the user and returns whether the input is a palindrome or not.

40.     Draw a flowchart that takes an integer as input from the user and prints whether the integer is prime  or not.

41.       Creating an HTML page which has following tags

-  html

-  body

42.    Create an HTML page which has following additional tags

-  title

-  paragraph

-  line break

43.    Create an HTML page which has following additional functions

-  Headings up to three levels

-  Bold, italic, underline

44.  Create an HTML page which has following additional functions

-  font size

-  font face

-  font color

45-  Create an HTML page which has following additional functions

-  having and image


-  alternate text

-  adjust the height, width and border of the image

46-  Create an HTML page which has following additional functions

-  Background/foreground colors

-  background image

47-  Create an HTML page which has following additional functions

-  un-ordered list

-  ordered list

48-  Create an HTML page which has following additional functions

-  nested list

-  definition list

49-  Create an HTML page which has multiple sections and a table of contents. The table of contents has anchors to different sections.

50-  Create a website with two web pages linked to each other. The links are in text.

51-  Create a website with three interlinked web pages. At least one of the links must be an image. 52- Create an HTML page which has a table with some specified number of rows and columns.

53-  Create an HTML page which has a table with some specified number of rows and columns, but some of the cells are merged together using colspan and rowspan.

54-  Create an HTML page which has a table, and the border of the table is of a specified width and border type.

55-  Create a website which has multiple pages and all the components mentioned above.


0 comments:

Post a Comment