Search Header Logo

Chapter 4: Developing software

Authored by peter allsop

Information Technology (IT)

11th Grade

Chapter 4: Developing software
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following examples of pseudocode best represents a definition?

i ß 0

PRINT a

IF x < 0 THEN

processReports()

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is one feature of a conditional statement?

A conditional statement makes decisions during runtime.

A conditional statement runs for as long as a condition is met.

Each line of code in a conditional statement is run at least once.

A conditional statement executes all lines of code in the order they are written.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the best description of the control structure being used on line 5 of the pseudocode?

A Iteration

B Sequence

C Definition

D Conditional statement

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of 'a < b OR b <= c' when 'a < b' is True and 'b <= c' is False?

False

True

0

1

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Bronte is writing code that needs to iterate over a set of data that she has stored in another variable. At runtime, the compiled code will not know how many items are stored in the variable. If the variable has no items in it, Bronte does not want the code to run. She wants the code to run for as long as a condition returns 'False'. Bronte should use a _______.

while loop

for loop

if statement

switch statement

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following examples of pseudocode best represents a function?

umbrella.broken

checkRaining()

rainHistory[5]

isRaining ß True

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Yolanda is writing a secure business application for her work. The application uses classes to store user data and she wants to make sure that the classes are as secure as possible. She wants the functions and methods within the user class to be visible only to that particular class. Which type of function visibility should Yolanda use?

Public

Private

Secured

Protected

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?