PDA Software I&T - Constructs Required

PDA Software I&T - Constructs Required

12th Grade

10 Qs

quiz-placeholder

Similar activities

Coding & AI

Coding & AI

5th Grade - University

10 Qs

Python Loops

Python Loops

9th - 12th Grade

10 Qs

Hari 3 - Kuis Coding & Perkenalan AI - Fitri Yanti

Hari 3 - Kuis Coding & Perkenalan AI - Fitri Yanti

1st - 12th Grade

12 Qs

kuis coding dan perkenalan AI

kuis coding dan perkenalan AI

12th Grade

10 Qs

CP M4 Repetition & Loops

CP M4 Repetition & Loops

9th - 12th Grade

15 Qs

Lesson 5 Looping Quiz

Lesson 5 Looping Quiz

10th - 12th Grade

15 Qs

Python- Operators

Python- Operators

12th Grade

10 Qs

Coding - Computer Programming

Coding - Computer Programming

KG - University

10 Qs

PDA Software I&T - Constructs Required

PDA Software I&T - Constructs Required

Assessment

Quiz

Computers

12th Grade

Medium

Created by

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.  

  1. Data Structures

  2. Conditional Statements

  3. File Handling

  1. Data Structures

  2. Iteration

  3. File Handling

  1. Input validation

  2. Conditional Statements

  3. File Handling

  1. Data Structures

  2. Input validation

  3. 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 

  1. Input Validation

  2. Loops

  3. Count Occurrence

  4. Sorting

  5. String Manipulation

  6. Data Structures

  1. Input Validation

  2. Loops

  3. Conditional Statements

  4. Sorting

  5. String Manipulation

  6. Data Structures

  1. Input Handling

  2. Loops

  3. Conditional Statements

  4. Sorting

  5. String Manipulation

  6. Data Structures

  1. Input Handling

  2. Loops

  3. Conditional Statements

  4. Searching

  5. String Manipulation

  6. 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?