Using an if/else statement to control the flow of a program is common in:

Responses

sequence structures.

selection structures.

iteration structures.

machine language structures.

11 answers

Using an if/else statement to control the flow of a program is common in:

selection structures.

Selection structures allow a program to choose different paths of execution based on certain conditions, which is exactly what if/else statements are designed for.

Which of these is an algorithm?

(1 point)
Responses

a love letter

a love letter

a poem

a poem

a pizza recipe

a pizza recipe

a shopping list

a shopping list

Among the options presented, a pizza recipe is the one that qualifies as an algorithm.

An algorithm is a step-by-step procedure or formula for solving a problem or accomplishing a task. A pizza recipe outlines specific steps to make a pizza, including ingredients and instructions, which is characteristic of an algorithm. The other options (a love letter, a poem, and a shopping list) do not provide a systematic procedure for achieving a particular goal in the same way.

What is the key feature of the agile methodology of software development?

Responses

It is rigid.

It is rigid.

It is linear.

It is linear.

It involves sprints.

It involves sprints.

It uses a waterfall approach.

The key feature of the agile methodology of software development is:

It involves sprints.

Agile methodology is characterized by iterative development, where work is completed in small, manageable increments called sprints, typically lasting a few weeks. This allows for flexibility and continuous improvement based on feedback, as opposed to a rigid or linear approach like the waterfall model.

A variable that could be the number 7 or –9 is a(n):

(1 point)
Responses

string.

string.

integer.

integer.

constant.

constant.

Boolean.

A variable that could be the number 7 or –9 is an:

integer.

Integers are whole numbers that can be positive, negative, or zero, which fits the examples given (7 and -9). Strings refer to sequences of characters, constants are values that do not change, and Boolean refers to true or false values.

A software design team just sent out a draft form of an app to trusted advisors who are going to tell the team about anything that isn’t working as expected before the app goes live. Which phase of the software development life cycle has this team reached?

(1 point)
Responses

analysis

analysis

testing

testing

design

design

maintenance

The software design team has reached the testing phase of the software development life cycle.

In this phase, the app is typically evaluated by users or trusted advisors to identify any issues or bugs before it goes live. This feedback helps ensure that the application functions as expected and is ready for deployment.

What is the purpose of a query language?

Responses

to display a web page properly

to compile code

to interpret code

to interact with databases

to interact with databases

The purpose of a query language is to interact with databases.

Query languages, such as SQL (Structured Query Language), are used to retrieve, insert, update, and delete data in a database. They allow users to perform operations and manage data effectively within a database system.