



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This worksheet develops algorithms using pseudocode, covering data types, boolean expressions, and algorithm writing for diverse problems. Exercises include sequence, selection, and iteration constructs, such as counting numbers, inputting scores, calculating averages, and simulating a rock, paper, scissors game. It enhances algorithmic thinking and pseudocode implementation, providing practical skill-building exercises. Suitable for introductory programming students, it builds a foundation in pseudocode and algorithmic problem-solving, preparing them for advanced tasks. The exercises gradually increase in complexity, fostering confidence in pseudocode writing and offering a comprehensive resource for instruction and self-study.
Typology: Exercises
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Name: ...................................................................................................... Class: ......................
The below table shows a number of values. For each one, choose the correct data type used to store it. The first row has been completed for you. Value Data type Value Data type 3 Integer 'A' Character TRUE 3. -6 '4' "Hello" FALSE -3.0 "P"
The below table shows a number of Boolean expressions. For each one, state whether it evaluates to TRUE or FALSE. The first row has been completed for you. Expression Evaluates to… Expression Evaluates to… 5 > 2 TRUE 80 < 80 FALSE 24 + 1 <= 25 16 – 1 < 16 5^2 == 25 3 >= 3 5 != 3 "Hel" + "lo" == "Hello" 2 == '2' age == age + 1