PDA Software I&T - Constructs Required

Quiz
•
Computers
•
12th Grade
•
Medium
Tracy Mutter
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For this scenario which constructs do you need?
Scottish Athletics is running trials for 400 metre athletes. There are four groups of eight athletes. The runners run two separate laps and their times are recorded as they complete each of the two laps. Any runner who completes either of the two laps in under 50 seconds progresses to the next stage of selection. The runner from each of the groups with the fastest lap will receive a medal of commendation.
Your task is:
♦ to write a program for one of the groups of female runners
♦ find the runners who will progress to the next stage
♦ find the runner with the fastest lap
Save this information to a file. You can assume that no two runners have the same name.
Data Structures
Conditional Statements
File Handling
Data Structures
Iteration
File Handling
Input validation
Conditional Statements
File Handling
Data Structures
Input validation
Find Min
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which constructs are required for this scenario?
implement and test a program which will allow users to complete a survey about local facilities. The survey has 15 questions with different possible responses — some numerical answers and some text answers. Only one response is possible for each question. Every question has an option of ‘Do not know’. You should use a record structure to store details of the survey questions. There should also be an option in the program to calculate the total number of ‘Do not know’ responses.
Data structures
Loops
Conditional Statements
Functions
Data structures
Loops
Input validation
Functions
Data structures
Loops
Conditional Statements
Options
Data structures
Loops
Running Total
Functions
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which constructs do you need for this scenario?
Implement and test a program to ask a user 10 addition questions using randomly created numbers between 10 and 30.
The program should:
♦ check if each of the user’s answer is correct
♦ keep a total of the number of correct answers
♦ repeat the quiz until the user achieves more than seven correct
Functions
Loops
Input/Output Handling
Conditional Statements
Random
Loops
Input/Output Handling
Conditional Statements
Random
Loops
Input Validation
Conditional Statements
Random
Loops
Running total
Conditional Statements
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which constructs do you need for this scenario?
Implement and test a program to input a sentence, apply a code to each character (except spaces) and output the coded message to the screen.
input handling
loops
running total
string manipulation
input validation
random
conditional statements
string manipulation
input validation
loops
conditional statements
string manipulation
input handling
loops
conditional statements
string manipulation
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
WHich constructs are required for this scenario?
a program to assign grades to exam marks for a class of 15 students, using the following criteria:
♦ more than 70% is an A
♦ more than 60% is a B
♦ over 50% is a C
♦ more than 45% is a D
♦ less than 45% is a fail
The program requires the highest possible score for an exam, each student’s name (first name and surname) and each student’s mark.
The program then:
♦ calculates the percentage mark for each student
♦ sorts the percentages into order from highest to lowest
♦ displays each student’s initials, percentage and grade in the sorted order
♦ displays the total numbers of As, Bs, Cs, Ds and fails
Input Validation
Loops
Count Occurrence
Sorting
String Manipulation
Data Structures
Input Validation
Loops
Conditional Statements
Sorting
String Manipulation
Data Structures
Input Handling
Loops
Conditional Statements
Sorting
String Manipulation
Data Structures
Input Handling
Loops
Conditional Statements
Searching
String Manipulation
Data Structures
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which constructs are required for this program?
a program to calculate the number of points gained by five hockey teams, given the number of wins, draws and lost games, assuming a win is worth 3 points, a draw 1 point, and no points for a lost game.
input validation
loops
arithmetic operations
input handling
loops
arithmetic operations
input handling
conditional statements
arithmetic operations
count occurrence
loops
arithmetic operations
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which constructs are required for this scenario?
a program to create a list of 35 random, upper case letters and then stores the list in an array. You should then sort the list into order, A to Z, and output the character in the middle of the list.
random function
data structures
sorting
string manipulation
random function
data structures
sorting
indexing
random function
data structures
searching
indexing
random function
conditional statements
sorting
indexing
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
SC 025 Topical Test 3 - Design a Solution

Quiz
•
12th Grade
14 questions
LA4.C4: Conditions and Loops

Quiz
•
9th Grade - University
11 questions
AP CSP Boolean Logic 5

Quiz
•
9th - 12th Grade
9 questions
47. Programming 1 : User Input & Display Output

Quiz
•
9th - 12th Grade
15 questions
C - Language Quiz

Quiz
•
12th Grade
12 questions
Hour of Code

Quiz
•
6th - 12th Grade
11 questions
Computing Creative Design Quiz

Quiz
•
2nd Grade - University
15 questions
Program Implementation

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade