Search Header Logo
SDD implementation quiz 2

SDD implementation quiz 2

Assessment

Presentation

Computers

9th Grade

Practice Problem

Easy

Created by

Andrew Webster

Used 3+ times

FREE Resource

1 Slide • 20 Questions

1

SDD Quiz
Implementation

By Andrew Webster

2

Multiple Choice

What is the purpose of an interpreter in software development?

1

To translate the entire program into machine code before execution

2

To convert code into binary manually

3

To translate and execute code line by line

4

To compile code and optimize performance

3

Multiple Choice

What is the function of an algorithm in software development?

1

To execute a program automatically

2

To describe the logic and steps to solve a problem

3

To store user input

4

To control the operating system

4

Multiple Choice

What is pseudocode used for?

1

Writing machine code

2

Providing a step-by-step plan for programming

3

Optimizing software performance

4

Testing software without execution

5

Multiple Choice

Which data type is best suited for storing whole numbers?

1

String

2

Boolean

3

Integer

4

Real\Single

6

Multiple Choice

What is the purpose of a variable in programming?

1

To store and manipulate data

2

To repeat a section of code

3

To define a function

4

To end a program

7

Multiple Choice

What is an example of a logic error?

1

Using "x + y" instead of "x * y" in a calculation

2

Misspelling a variable name

3

Forgetting to close a bracket

4

Defining a variable with the wrong data type

8

Multiple Choice

Which of the following control structures is used for repetition?

1

IF statement

2

SWITCH statement

3

WHILE Loop

4

FUNCTION call

9

Multiple Choice

What does the term "iteration" refer to in programming?

1

Executing code conditionally

2

Storing multiple values in a single variable

3

Repeating a section of code

4

Defining a function

10

Multiple Choice

In a selection structure, which keyword is commonly used to represent a condition?

1

FOR

2

PRINT

3

REPEAT

4

IF

11

Multiple Choice

What does an array allow a program to do?

1

Store a single value in a variable

2

Execute a function automatically

3

Store multiple values in a single variable

4

Debug a program

12

Multiple Choice

What is the purpose of test data in software development?

1

To improve a program's performance

2

To check that a program functions correctly under different conditions

3

To delete unnecessary code

4

To convert code into machine language

13

Multiple Choice

What is meant by the term "robustness" in software development?

1

A program’s ability to handle errors and unexpected inputs without crashing

2

The speed at which a program runs

3

The simplicity of a program’s code

4

The visual appeal of the user interface

14

Multiple Choice

Which of the following is an example of extreme test data?

1

A valid value in the middle of an expected range

2

A random value chosen from the valid inputs

3

A value well outside the valid range, like -50 when the range is 1-100

4

A value just inside the valid range, like 1 when the range is 1-100

15

Multiple Choice

What is the purpose of an input validation algorithm?

1

To sort a list of numbers

2

To check if user input is acceptable before using it

3

To count how many times a value appears in a list

4

To find the largest number in a list

16

Fill in the Blanks

17

Fill in the Blanks

18

Fill in the Blanks

19

Multiple Choice

If a program should only accept numbers between 1 and 100, which of the following is an example of extreme test data?

1

50

2

200

3

1

4

-10

20

Multiple Choice

Standard Algorithm to traverse a 1D array. Which of the following code examples correctly traverses an array called "myArray" of ANY length

1

for i = 1 to myArray.length -1

2

for i = 0 to myArray.length -1

3

for i = 0 to 99

4

for i = 0 to myArray.length

21

Reorder

Reorder the following Input Validation statement to ensure a person enters a password with a length of 10 characters.

password = inputbox("Please enter Password")

while len(password) <> 10

msgbox("Error. Please re-enter password")

password = inputbox("Please re-enter Password")

end while

1
2
3
4
5

SDD Quiz
Implementation

By Andrew Webster

Show answer

Auto Play

Slide 1 / 21

SLIDE