
H SDD - Design & Implementation (revision)
Presentation
•
Computers
•
10th Grade
•
Practice Problem
•
Easy
G Alexander-Doyle
Used 12+ times
FREE Resource
26 Slides • 14 Questions
1
2
3
4
5
Multiple Choice
What is the difference between an actual parameter and a formal parameter in subprograms?
An actual parameter is used in the definition of a subprogram, while a formal parameter is used in the call statement.
An actual parameter is the value passed into the subprogram, while a formal parameter is the identifier used in the subprogram definition.
An actual parameter is always a number, while a formal parameter is always a string.
There is no difference between actual and formal parameters.
6
7
Fill in the Blank
Type answer...
8
Multiple Choice
Which of the following statements about functions and procedures is correct?
A function always displays values on a screen.
A procedure always returns a value.
A function returns a value, while a procedure performs a task such as displaying values.
Neither functions nor procedures use parameters.
9
10
Multiple Choice
What will be the output of print(myString[0:5]) if myString = "Tomato & Basil soup"?
Tomat
Tomato
Tomato &
Toma
11
12
13
14
Multiple Choice
Which pre-defined function would you use to convert a character to its corresponding ASCII code in Python?
chr
ord
mod
ascii
15
16
17
Multiple Choice
Which of the following statements about the MOD function is correct?
It returns the quotient of division.
It calculates the remainder after division.
It converts a character to ASCII code.
It reads data from a file.
18
19
20
21
22
Multiple Choice
Which step in the pseudocode for writing from an array of records into a file checks to ensure that only students with a grade of 'A' are written to the file?
Get filename from keyboard
Open filename in write mode
If Students[counter].grade == "A" then do
Write row([Students[counter].forename, Students[counter].surname])
23
24
25
26
Multiple Choice
Which of the following is NOT a standard algorithm listed for 1D arrays or arrays of records?
Linear search
Find minimum and maximum
Count occurrences
Binary search
27
28
Multiple Choice
Standard algorithms for arrays include finding maximum, finding minimum, linear search, and count occurrences. Which one would be used to locate a specific value in an array.
Find Maximum
Find Minimum
Linear Search
Count Occurrences
29
30
31
32
Multiple Choice
Which of the following statements about linear search is correct?
It always stops after finding the first match.
It can use either fixed or conditional loops.
It only works for sorted arrays.
It does not require a search value.
33
34
Fill in the Blank
Type answer...
35
36
Open Ended
Explain the difference between a fixed loop and a conditional loop in the context of linear search algorithms.
37
38
39
Multiple Choice
Which steps are involved in counting the number of values above 50 in an array, according to the pseudocode?
Set occurrences to 0, loop through array, increment occurrences if condition is met, display result
Set occurrences to 1, loop through array, increment occurrences for every value, display result
Loop through array, increment occurrences for every value, display result
Set occurrences to 0, loop through array, display result
40
Open Ended
Reflecting on today's lesson about computational constructs, which concept do you find most challenging or would like to explore further?
Show answer
Auto Play
Slide 1 / 40
SLIDE
Similar Resources on Wayground
33 questions
Pemrograman Dasar
Presentation
•
10th Grade
35 questions
ACCESS Ecosystem: food chains and food webs.
Presentation
•
10th Grade
38 questions
ISP, URL, DNS, IP address, Web Hosting, The Cloud
Presentation
•
10th Grade
36 questions
Unit 4 T1 Input and output devices
Presentation
•
10th Grade
37 questions
Preterite Vs Imperfect
Presentation
•
10th Grade
33 questions
Direct, Inverse and Joint Variation
Presentation
•
10th Grade
33 questions
Computer Excel Term 1 2nd 1/2
Presentation
•
10th Grade
33 questions
Trắc nghiệm bài 14: Làm việc với đường và văn bản
Presentation
•
10th Grade
Popular Resources on Wayground
10 questions
5.P.1.3 Distance/Time Graphs
Quiz
•
5th Grade
10 questions
Fire Drill
Quiz
•
2nd - 5th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
22 questions
School Wide Vocab Group 1 Master
Quiz
•
6th - 8th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade