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
12 questions
Computer Science

Quiz
•
3rd - 12th Grade
15 questions
untitled

Quiz
•
7th Grade - University
15 questions
Programming python review

Quiz
•
9th - 12th Grade
10 questions
SC025: Control Structures Lecture Quiz

Quiz
•
12th Grade
10 questions
Python Input/Output

Quiz
•
9th - 12th Grade
15 questions
AP Computer Science Principles Unit 1

Quiz
•
9th - 12th Grade
14 questions
3c (i) OCR Exam Reference Language

Quiz
•
12th Grade
15 questions
Programming Paradigms

Quiz
•
12th Grade - University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade