Search Header Logo
Computational skills

Computational skills

Assessment

Presentation

Other

10th Grade

Practice Problem

Easy

Created by

Ian Currie

Used 1+ times

FREE Resource

7 Slides • 20 Questions

1

Discover new features in Lessons!
Finish all phases of “I-do ; We-do ; You-do” with Quizizz

media
media
media
media

​You can also create lessons directly on Google Slides using “Quizizz Extension”.
Read more about it here

2

Open Ended

What is abstraction? (think of definition, purpose and example)

3

Replace this with a header

It simplifies a real-world object or scenario by removing unnecessary details.
To solve a specific problem effectively while maintaining computational efficiency.
London Tube map: Only details relevant to journey planning are kept.
Flight simulator: Includes properties like weight but ignores irrelevant details like upholstery.

Identify the essential details for the problem being solved. Discard irrelevant or non-impactful details.

4

Types of abstractions

Abstraction by generalisation
Procedural abstraction
functional abstraction
Data abstractions

5

How to attempt questions on abstraction

  1. read the question carefully.

  2. focus on the core concept of simplification and relevance.

  3. define abstraction clearly

  4. give examples

  5. justify why these choices are made based on the purpose in the context.

6

Multiple Choice

What is abstraction?

1

A detailed representation of all features of an object

2

The process of removing unnecessary details to simplify a model

3

A way of physically representing an object in a computer system

4

The process of adding more features to make a model comprehensive

7

Multiple Choice

Why are unnecessary details removed in abstraction?

1

To prioritize irrelevant information

2

To ensure every detail is accurately represented

3

To reduce computational complexity and focus on solving a problem

4

The process of adding more features to make a model comprehensive

8

Multiple Choice

Which of the following is an example of abstraction?

1

A weather forecasting model that includes wind, humidity, and temperature

2

A 3D rendering of a car with every single component modeled

3

. A video game that mimics real-world physics in every detail

4

A Tube map that simplifies distances but shows station connectivity

9

Multiple Choice

What determines what is included in an abstraction?

1

The designer's personal preference

2

The hardware specifications of the system

3

The problem being solved and the required degree of accuracy

4

The aesthetics of the representation

10

Multiple Choice

In a flight simulator why is the weight of the plane represented while seat upholstery details are not?

1

Weight impacts handling, while upholstery details are irrelevant to simulation goals

2

Upholstery details are too difficult to simulate

3

Weight is easier to model than upholstery details

4

The system designer forgot to include upholstery details

11

Open Ended

Explain the concept of abstraction using the example of the London Tube map. (3 marks)

12

Model answer (3 marks)

abstraction involves simplifying a system by removing unnecessary details to focus on what is essential for solving a particular problem. The London Tube map is a good example. It removes irrelevant details such as the actual geographical distances between stations or the exact of the city. Instead, it focuses on showing the connectivity between stations and lines, making it easier to plan journeys. This allows users to navigate the transport system without being distracted by unnecessary information.

13

Open Ended

Discuss how abstraction is applied in a flight simulator and explain why some details are included while others are omitted. ( 4 marks)

14

Model answer (4 marks)

Abstraction in a flight simulator involves simplifying real-world planes to include only the details necessary for simulating flight accurately. Essential properties like the plane's weight, dimensions, and aerodynamic features are included because they directly affect its handling and performance. However, irrelevant details, such as the material used to upholster the seats or the specific brand of in-flight entertainment, are omitted because they do not impact the simulation's purpose of training pilots or analyzing flight. By focusing only on critical elements, the simulator becomes both efficient and effective in meeting its objectives.

15

Open Ended

How would you explain what thinking procedurally is?

16

Thinking procedurally

The procedural programming paradigm is where program code is divided up into procedures, which are discrete blocks of code that carry out a single task. Procedures, also called subroutines or functions, contain a series of computational steps to be carried out in the order specified by the programmer.

17

Multiple Choice

What is the main purpose of a structure chart in program development?

1

To represent the sequence of operations in a flowchart.

2

To decompose a program into its sub-procedures and their relationships.

3

To display pseudocode in a graphical form.

4

To identify hardware components in a computing system.

18

Multiple Choice

What is the role of a sub-procedure in a program?

1

To visualize the program flow in a diagram.

2

To replace the need for inputs and outputs.

3

To divide a program into smaller, reusable components.

4

To define global variables.

19

Multiple Choice

Which of the following best represents the use of parameters in sub-procedures?

1

Parameters pass data into and out of a sub-procedure.

2

Parameters are optional details that can be added to enhance readability.

3

Parameters determine the sequence of operations in a program.

4

Parameters are preconditions for program execution.

20

Multiple Choice

In a flowchart, what shape is used to represent a decision point?

1

Rectangle

2

Diamond

3

Oval

4

Parallelogram

21

Multiple Choice

Why is it important to write pseudocode before coding a program?

1

To reduce the length of the final program.

2

To create a visual representation of program logic.

3

To plan and structure the program's logic before implementation.

4

To ensure that flowcharts are accurate.

22

Multiple Choice

What should you consider when designing sub-procedures?

1

The aesthetics of the structure chart.

2

The size of the variables used.

3

The programming language being used.

4

The specific tasks to be handled and how parameters are passed.

23

Multiple Choice

Which of the following is a key difference between pseudocode and flowcharts?

1

Pseudocode is a textual description of algorithms, while flowcharts are graphical representations.

2

Pseudocode uses diagrams, while flowcharts use text.

3

Flowcharts represent decision-making processes, while pseudocode does not.

4

Flowcharts are used in program debugging, pseudocode is not.

24

Multiple Choice

What is the purpose of putting steps into the correct order in an algorithm?

1

To minimize the number of variables.

2

To reduce the need for debugging.

3

To simplify the structure diagram.

4

To ensure the program logic is correct and functional.

25

Open Ended

A program manages an online bookstore. It contains a main menu that allows users to:

Search for books.

Add books to a shopping cart.

Checkout and make payments.

a) Draw a structure chart for this program, showing the main program and its sub-procedures. (2 marks)

b) Explain why sub-procedures are useful in this program. (2 marks)

26

Open Ended

A program calculates the total cost of a meal, including tax and tip. The calculation involves three steps:

Calculate tax (10% of meal cost).

Calculate tip (15% of meal cost).

Display the total cost.

a) Write pseudocode for the program, including sub-procedures for calculating tax and tip. (5 marks)

b) Explain the importance of using sub-procedures and parameters in this program. (2 marks)

27

Open Ended

A program for a school management system generates student grades. The steps are:

Assign grades based on scores.

Input student names and scores.

Print the grade report.

Question:

a) Put the steps in the correct order to produce a working algorithm. (2 marks)

b) Explain how incorrect ordering can affect the program's functionality. (2 marks)

Discover new features in Lessons!
Finish all phases of “I-do ; We-do ; You-do” with Quizizz

media
media
media
media

​You can also create lessons directly on Google Slides using “Quizizz Extension”.
Read more about it here

Show answer

Auto Play

Slide 1 / 27

SLIDE