In Procedural programming, code is executed step by step or line by line. Procedural code includes:
(tick all appropriate)
Topic D - Types of programming and mark up languages
Quiz
•
Computers
•
12th Grade
•
Hard
Cat Wilkes
Used 3+ times
FREE Resource
24 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
In Procedural programming, code is executed step by step or line by line. Procedural code includes:
(tick all appropriate)
Statements
Blocks
Procedures
Functions
Events
Answer explanation
All the options apart from events (that's event driven programming)
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Programming involves sequence, selection and iteration. Tick all appropriate descriptions of iteration.
repetition of code
Looping of code
IF statement
For Loop
Condition
Answer explanation
Iteration means to repeat or loop.
IF statements and Conditionals are known as selection. An IF statement is sometimes called a branch.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is not an advantage of procedural programming?
Debugging can be difficult if you have thousands of lines of code.
Code is modular, so programs can be written separately by different people at once.
It is easy to follow for small programs
Flexibility – most procedural languages can create and execute code on multiple machines.
Answer explanation
Debugging is very difficult in procedural programming - too much for my small brain to take in at once!
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Object Oriented Programming (OOP) is an approach to problem solving where all computations are carried out using objects.
TRUE
FALSE
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
In Object Oriented Programming a class is a set of related _______ that share common characteristics.
Answer explanation
Answer = OBJECTS
For example in your football game the object is the footballer. The shared characteristics could be their skill level, eye colour, position.
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Object Oriented Programming features include:
(tick all appropriate)
Service oriented processing
Inheritance
Encapsulation
Polymorphism
Reusability
Answer explanation
Service oriented programming is a feature of event driven programming. All the rest are features of OOP.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Object Oriented Programming, Inheritance is the ability to create derived (or child) classes from a base class in order to reuse existing code.
TRUE
FALSE
Answer explanation
Just like you inheriting characteristics from your parents!
20 questions
Python -Iteration (loops)
Quiz
•
7th - 12th Grade
20 questions
Programming Paradigms Quiz
Quiz
•
12th Grade
21 questions
Programming Basics
Quiz
•
9th - 12th Grade
20 questions
Technical Quiz Round 1 Set 1
Quiz
•
12th Grade
20 questions
Computer Science Holiday Assignment
Quiz
•
12th Grade
21 questions
AP CSP Unit 5 Ch 1 Quiz
Quiz
•
9th - 12th Grade
27 questions
Object Oriented Programming
Quiz
•
9th - 12th Grade
20 questions
Recursion
Quiz
•
12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University