Lesson T2.1.1
T2.1.1 Solving problems with two or more programming languages Quiz: KS3 Computing, Unit 2
20 questions
In partnership with Revision Ninja
Lesson T2.1.1, Solving problems with two or more programming languages: 20 multiple choice questions for the KS3 Computing (National Curriculum), Unit 2: Programming, written with Revision Ninja.
Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.
The 20 questions
-
What is a block-based programming language?
- A language that only runs inside a web browser's address bar
- A language that stores code as pictures of the program output
- A language where code is written as typed text with strict punctuation
- A language where code is built by joining visual blocks that snap together
-
Why might a beginner start with a block-based language?
- It is always faster than every text-based language
- It avoids typing errors and makes the logic easy to see
- It stops the programmer from ever needing variables
- It is the only language that computers can understand
-
Why might a programmer use a text-based language for a large app?
- It means the code can never contain any errors once it has been saved
- It makes the program run on any device without testing it on each one first
- It gives finer control and suits large programs that need careful structure
- It removes the need for any programming knowledge by writing code in plain English
-
A pupil builds a quiz game in Scratch and then rewrites part of it in Python. What is this an example of?
- Writing code without any structure or plan
- Removing all the logic from the original program
- Using two programming languages to solve parts of a problem
- Converting a program into a spreadsheet
-
Which language is an example of a block-based language?
- Java
- Scratch
- C
- Python
-
Which is a text-based programming language?
- A flowchart on paper
- Blockly-style drag and drop
- Scratch
- Python
-
A program needs to read sensor data quickly and also show a simple display. Why might two languages be used?
- Two languages are needed so that no testing is required
- Each language can be chosen for the part of the task it handles best
- Only one language can ever be used for any task
- Two languages always make the program run twice as fast
-
In a block-based language, what does a block usually represent?
- A picture that is shown on screen while the program is running
- A complete computer with its own memory, processor and storage device
- A single instruction or a control structure such as a loop
- The name of the programmer who wrote the code and the date it was written
-
A pupil wants a sprite to move 10 steps and repeat ten times. Which is the right block idea?
- A single move block with 100 steps and no repeat
- A broadcast block sent to every sprite once
- A repeat block containing a move block of 10 steps
- A say block with the number 10 inside it
-
Why is it useful to know two languages for a computing project?
- It makes every program run without errors, whatever language is chosen
- It means you only need one language for every project you ever start
- Each language suits different tasks, so you can pick the better tool
- It removes the need to plan the project at all, since code can be rewritten
-
Which feature is typical of a text-based language but less common in block languages?
- Dragging shapes to build a program
- Typing exact syntax, such as brackets and semicolons
- Showing the program as coloured building bricks
- Joining pieces together with snap points
-
What is the main advantage of a text-based language over a block-based one for experts?
- It only runs on one type of computer, which limits where programs can be used
- It is more concise and gives precise control over every detail
- It needs no testing at all before use, so it is quicker to write
- It cannot contain loops or decisions, so programs are limited in what they do
-
A pupil's Scratch program works, but the team wants a faster version. What might they do?
- Turn off the computer and try again later
- Add more sprites without changing the logic
- Delete the program and start with no plan
- Rewrite the slow part in a text-based language
-
What is the purpose of a programming language?
- To connect computers to the internet automatically
- To give precise instructions that a computer can follow
- To print documents on a printer
- To store photographs in a database
-
Which example best shows a problem solved with two languages?
- A spreadsheet that only uses a single formula copied down a column
- A game in Scratch that sends data to a Python script for scoring
- A poster designed in a word processor and printed in full colour
- A video recorded on a phone camera and then edited in a separate app
-
Why might a programmer choose a block language for teaching sequence and loops?
- It shows the structure clearly without syntax errors getting in the way
- It is the only way to teach loops to pupils who are learning to code
- It removes the need for any logic at all, so pupils just drag blocks together
- It forces pupils to memorise binary numbers before they write any code
-
A program is written in a text language. What must be correct for it to run?
- The code must use only capital letters so the computer can read it
- The spelling and punctuation must follow the language's rules
- The code must be shorter than ten lines before the computer will accept it
- The program must be printed on coloured paper before it can be run
-
Which is a benefit of using a block language in a classroom?
- Pupils can build working programs quickly and see the results
- Pupils never need to learn about variables or loops
- Pupils never make any logical mistakes at all
- Pupils can skip planning their programs entirely
-
A pupil uses Python to calculate scores and Scratch to show animations. What is the best description?
- Writing a single text document with no code
- Using a database without any programs
- Solving a problem with two programming languages
- Creating a printed poster for the classroom wall
-
Which description fits a text-based programming language?
- Code is drawn as a flowchart with arrows only
- Code is recorded as a sound clip that the computer plays
- Code is typed as words and symbols that must follow exact rules
- Code is built by dragging coloured blocks together
Related quizzes
- Textual programming languages Quiz · T2.1.2 · 20 questions
- Lists, tables and arrays Quiz · T2.2.1 · 20 questions
- Procedures and functions Quiz · T2.3.1 · 20 questions
- Designing and developing modular programs Quiz · T2.3.2 · 20 questions
- Computational abstractions of real-world systems Quiz · T1.1.1 · 20 questions
- AND, OR and NOT Quiz · T3.1.1 · 20 questions
- Hardware and software components Quiz · T4.1.1 · 20 questions
- Combining applications across devices Quiz · T5.1.1 · 20 questions
- Using technology safely, respectfully and responsibly Quiz · T6.1.1 · 20 questions
- Sorting algorithms Quiz · T1.2.1 · 20 questions