Unit 1 Principles of Computer Science


Unit 1 Principles of Computer Science
Revision
1 / 40
volgende
Slide 1: Tekstslide
ComputingFurther Education (Key Stage 5)

In deze les zitten 40 slides, met interactieve quizzen en tekstslide.

Onderdelen in deze les


Unit 1 Principles of Computer Science
Revision

Slide 1 - Tekstslide

What is meant by decomposition in computational thinking?
A
Identifying patterns in data
B
Breaking a problem into smaller parts
C
Removing unnecessary data
D
Writing program code

Slide 2 - Quizvraag

Which of the following best describes pattern recognition?
A
Writing algorithms
B
Finding similarities and differences in problems
C
Testing program output
D
Creating flowcharts

Slide 3 - Quizvraag

Which post-validation action would best improve data accuracy?
A
Ignoring the invalid input
B
Automatically ending the program
C
Prompting the user to re-enter valid data
D
Storing the invalid data for later use

Slide 4 - Quizvraag

What is abstraction mainly used for?
A
Writing longer programs
B
Removing irrelevant details
C
Adding extra data
D
Debugging code

Slide 5 - Quizvraag

What is a key advantage of using an API when developing software?

A
It removes the need for all testing
B
It guarantees software will be error-free
C
It replaces the need for programming languages
D
It allows developers to reuse existing functionality efficiently

Slide 6 - Quizvraag

What is the main purpose of algorithm design?
A
To test programs
B
To write code in a language
C
To describe a step-by-step solution
D
To store data

Slide 7 - Quizvraag

What is pseudocode mainly used for?
A
Writing final program code
B
Describing algorithms clearly
C
Running programs
D
Testing software

Slide 8 - Quizvraag

Which pseudocode keyword is used to receive data from a user?
A
OUTPUT
B
PRINT
C
INPUT
D
WRITE

Slide 9 - Quizvraag

Which structure controls decision making in pseudocode?
A
FOR
B
WHILE
C
IF
D
BEGIN

Slide 10 - Quizvraag

What does indentation show in pseudocode?
A
Variable type
B
Program speed
C
Structure and hierarchy
D
Output format

Slide 11 - Quizvraag

Which loop repeats a fixed number of times?
A
WHILE
B
REPEAT UNTIL
C
FOR
D
IF

Slide 12 - Quizvraag

Which symbol represents a decision in a flowchart?
A
Oval
B
Rectangle
C
Parallelogram
D
Diamond

Slide 13 - Quizvraag

Which data type stores true or false values?
A
Boolean
B
Float
C
Integer
D
String

Slide 14 - Quizvraag

What is a constant?
A
A loop control
B
A value that cannot change
C
A variable that can change
D
A data structure

Slide 15 - Quizvraag

What does the modulo (MOD) operator return?
A
Quotient
B
Remainder
C
Product
D
Difference

Slide 16 - Quizvraag

Which operator checks if two values are equal?
A
>=
B
<>
C
<=
D
=

Slide 17 - Quizvraag

Which Boolean operator returns true only if both conditions are true?
A
AND
B
XOR
C
NOT
D
OR

Slide 18 - Quizvraag

What does string concatenation do?
A
Converts numbers to strings
B
Finds string length
C
Removes characters
D
Joins strings together

Slide 19 - Quizvraag

What is the main purpose of built-in functions in a programming language?
A
To replace variables and data types
B
To prevent user input
C
To provide pre-written routines that perform common tasks
D
To allow programmers to write all code from scratch

Slide 20 - Quizvraag

What is the purpose of data validation?
A
Ensure data is correct
B
Encrypt data
C
Store more data
D
Improve program speed

Slide 21 - Quizvraag

Which validation check ensures a value falls within limits?
A
Data type
B
Format check
C
Presence check
D
Range check

Slide 22 - Quizvraag

What is meant by branching in a computer program?
A
Repeating a section of code a fixed number of times
B
Selecting different paths of execution based on conditions
C
Storing data in multiple locations
D
Breaking a problem into smaller parts

Slide 23 - Quizvraag

What does BREAK do in a loop?
A
Pauses execution
B
Exits the loop
C
Skips one iteration
D
Restarts the loop

Slide 24 - Quizvraag

Which algorithm repeatedly swaps adjacent values?
A
Binary search
B
Quick sort
C
Insertion sort
D
Bubble sort

Slide 25 - Quizvraag

Which search algorithm requires sorted data?
A
Linear search
B
Binary search
C
Serial search
D
Random search

Slide 26 - Quizvraag

What does FIFO stand for?
A
First In Final Out
B
Fast Input Fast Output
C
First In First Out
D
Final In First Out

Slide 27 - Quizvraag

What is an object in object-oriented programming?
A
A function
B
A variable
C
A loop
D
A class instance

Slide 28 - Quizvraag

Which OOP feature allows code reuse?
A
Polymorphism
B
Inheritance
C
Encapsulation
D
Data hiding

Slide 29 - Quizvraag

What triggers code execution in event-driven programming?
A
Loops
B
Functions
C
Events
D
Variables

Slide 30 - Quizvraag

What is the name of the code that defines the type of event that will trigger code?
A
Service Oriented Processing
B
Trigger
C
Event handler
D
Event loop

Slide 31 - Quizvraag

Which language is primarily a mark-up language?
A
Python
B
HTML5
C
Visual Basic
D
C++

Slide 32 - Quizvraag

What is client-side scripting mainly used for?
A
Database access
B
User interaction
C
File storage
D
Server processing

Slide 33 - Quizvraag

Why might code be translated to another language?
A
To remove features
B
To reduce readability
C
To increase errors
D
To improve compatibility

Slide 34 - Quizvraag

Who can be affected by translating code?
A
Users
B
Developers
C
Developers, users and organisations
D
Organisations

Slide 35 - Quizvraag

What is the main purpose of server-side processing in web development?
A
To respond only to mouse and keyboard events
B
To store data temporarily in the browser
C
To handle data processing and logic on the web server
D
To control how a web page looks on the user’s screen

Slide 36 - Quizvraag

Which feature is most closely associated with procedural programming?
A
Classes and objects
B
Top down processing
C
Mark-up tags
D
Event handlers

Slide 37 - Quizvraag

What does a sequential code construct mean in a program?
A
Code that repeats until a condition is met
B
Code that executes one statement after another in order
C
Code that runs only when an event occurs
D
Code that selects between multiple paths

Slide 38 - Quizvraag

What is a difference between lists and array data structures?
A
Arrays do not use an index to reference items of data
B
Arrays can only be used in a linear search routine
C
Arrays can only store data of one type
D
Lists are always multi dimensional

Slide 39 - Quizvraag

Which data type would you use to represent money?
A
Char
B
Integer
C
Float
D
Boolean

Slide 40 - Quizvraag