Unit 2.2 Programming Techniques MCQs L2
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Matt Fearn
Used 17+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following is true about Top-down approach
The Main procedure is defined first, with other subs to follow
The detailed list of all operations is drawn up first, before we can start planning
We start from the top of the program and complete the algorithm by getting to the
bottom of it
Functions can’t be included as they can’t be directly called by procedures.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Structured code has the following benefit
Reduces the number of lines of code
Improves efficiency
Makes code easier to read and debug
All of these options are true
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Variable scope refers to
Variable data type
Variable identifier
Logic errors associated with a variable
Different use of global and local variables
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The advantages of parameter passing don’t include this
The same subprogram can be reused in more cases
Parameter passing makes it easier to use global variables
More flexible coding
Can cut down on the use of wasteful global variables
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The main difference between procedures and functions is
Procedures are usually longer and have more instructions
Functions use parameter passing, while procedures don’t
Functions are more difficult to debug
Functions return values, while procedures don’t
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When a variable first appears outside any subprograms
It is a global variable
It is a local variable
It is a parameter variable
It is not a valid variable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Converting procedures to functions usually causes these effects
Shorter code
Slows the program down
Reduction of the number of global variables, more parameter passing
Makes it more difficult to use selection
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Q1 M3 PRE-TEST
Quiz
•
10th Grade
15 questions
AV1/R1 2TEC_PM_1 A 11_História e Reconhecimento da UX
Quiz
•
1st Grade - University
20 questions
HTML5 Basics
Quiz
•
7th - 10th Grade
20 questions
Quiz
•
7th - 12th Grade
15 questions
TEST DE PENSAMIENTO LOGICO
Quiz
•
10th Grade
20 questions
BÀI 24-25 TIN 10
Quiz
•
10th Grade
20 questions
CSS Acronyms
Quiz
•
9th - 10th Grade
20 questions
Software
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
