AP CSP Unit 1 Edhesive

AP CSP Unit 1 Edhesive

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

12 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What should Rick and his team do next after consulting with potential clients and developing an idea of required inputs and likely outputs for a stock control program? Options: Plan the structure of the program and determine how the major algorithms will work, Write segments of code in different languages to see which language will be most suitable for the job, Make a list of bugs which will occur during development and propose ways these could be fixed, Decide on the schedule for updates and maintenance of the code

Back

Plan the structure of the program and determine how the major algorithms will work

2.

FLASHCARD QUESTION

Front

Which of the following is a simplified but equivalent Boolean expression to the following: (X > 0 AND X ≤ 20) OR (X > -5 AND X < 15)? Options: (X < -5) AND(X≥ 20), (X > -5) AND(X≤ 20), (X > 0) AND (X < 15), (X < 0) AND (X > 15)

Back

(X < -5) AND(X≥ 20)

3.

FLASHCARD QUESTION

Front

Jama is creating a program which calculates the square roots of whole numbers. The program will store the results of each square-root as a variable. Which data-type would be best used for this variable?

Back

string

4.

FLASHCARD QUESTION

Front

Which of the following describes algorithmic solutions to problems: I. A set of step by step instructions for assembling a piece of furniture. II. A flowchart used to make important decisions on which actions to take in an emergency situation III. A recipe for baking a cake with detailed numbered steps to follow

Back

I, II and III

5.

FLASHCARD QUESTION

Front

Which of the following is an example of code written in a high-level programming language? num1 = 8 - 3 num2 = 2 * num1 + 1 print(num2), LD R0 8 LD R1 3 SUB R1 R0 LD R2 1 ADD R2 R0 ST R0 X

Back

num1 = 8 - 3 num2 = 2 * num1 + 1 print(num2)

6.

FLASHCARD QUESTION

Front

Which statements about variables in programming are true? I. Variables allow a value to be stored for future use II. Once the value of a variable is set it cannot be changed III. The name given to a variable is important for human comprehension, but not for the computer.

Back

I and III only

7.

FLASHCARD QUESTION

Front

Which of the following could be represented by a boolean variable?
The number of questions in the quiz.
The correct answer choice for a particular question.
The percent score of the user
Whether a user got a specific question right or not

Back

The number of questions in the quiz.

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?