1/42
#3 APCSP Midterm Study
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
What happens if the commands in Scratch are placed in the wrong order in your program? (Choose the best answer)
A. The program will not run.
B. The program will run but will not work as expected since the commands are out of order.
C. The program will work as expected because Scratch will automatically correct the steps.
D. The program will run slow.
B. The program will run but will not work as expected since the commands are out of order.
What should you use in your block command(s) to change the location of a sprite on the stage in Sprite?
Â
A. Costumes tab
B. Stage area information
C. Stop sign
D. Coordinates
D. Coordinates
What happens when the green flag is clicked in a Scratch program?
Â
A. Nothing unless we program it to do something.
B. The program starts.
C. The program moves faster.
D. The program moves slower.
B. The program starts.
Which term describes the block commands used to control sprites in Scratch?
A. Sprites
B. Backpack
C. Scripts
D. Command
C. Scripts
What happens when the stop sign is clicked in a Scratch program?
Â
A. The program is paused.
B. The program moves slower.
C. The program stops.
D. Nothing unless we program it to do something.
C. The program stops.

Consider the code segment below:
A. equals true.
B. equals false.Â
C. equals true.Â
What will be the value of output?Â
A. true
B. false
C. Cannot be determined
D. OR gate cannot have double input
A. true

Consider the code segment below. What is the output of the program?
A. true, true
B. false, false
C. true, false
D. x3 will always equal x4
D. x3 will always equal x4

Consider the code segment below. What is the output of the program?Â
A. 1200
B. false
C. true
D. admitted
C. true

Consider the code segment below. What is the output of the program?Â
A. true, false
B. false, true
C. true, true OR false, false
D. true, true
C. true, true OR false, false

Consider the code segment below. What is the output of the program?
A. true or false
B. false
C. true
D. Memory overflow error
B. false

Consider the code segment below. What is the output of the program?
A. true, true
B. false, false
C. true, false
D. x3 will always equal x4
D. x3 will always equal x4

Â
Consider the code segment below. What is the output of the program?
A. true or false
B. false
C. true
D. Memory overflow error
C. true

Consider the code segment below. What is the output of the program?Â
A. false, false
B. true, true
C. true, false
D. false, true
B. true, true

Consider the code segment below:
equals true.
equals false.Â
equals true.Â
is unknown.Â
If the output must equal true, what is the required value for D?
A. Cannot be determined
B. Does not matter. Can be true or false
C. Must be false
D. Must be true
B. Does not matter. Can be true or false

Consider the code segment below:
equals true.
equals false.Â
equals unknown.Â
If the output must equal true, what is the required value for C?
A. Cannot be determined
B. Does not matter. Can be true or false
C. Must be false
D. Must be true
D. Must be true

Consider the code segment below:
is unknown
equals false.Â
equals true.Â
equals false.Â
If the output must equal true, what is the required value for A?
A. Cannot be determined
B. Does not matter. Can be true or false
C. Must be false
D. Must be true
B. Does not matter. Can be true or false
When considering the architecture of an app, which of these need to be considered?
Â
A. Prospective users
B. Security requirements
C. All of these
D. Deployment
C. All of these
In programming code, which of the following is NOT a user interface component?
Â
A. image
B. button
C. variable
D. textarea
C. variable
A variable in programming is _______________________________.
Â
A. A certain data type.
B. A placeholder to store information for the program.
C. A set of commands.
D. A user interface component.
B. A placeholder to store information for the program.
A key listener in programming code is required when using which input method?
Â
A. keyboard
B. bluetooth
C. mouse
D. touchpad
A. keyboard
What does a key listener do?
Â
A. Executes a sequence of commands in its block
B. Sends a message to a button
C. Listens for a click of a button
D. Listens for a keystroke on a keyboard
D. Listens for a keystroke on a keyboard
A student is working on a computer program project for school. He is having a great deal of trouble with the code so he uses another programmer's code to help with a portion of his program. When turning in his finished program, he does not cite the other programmer’s code. What should the consequences be for not citing the other programmer’s code? (Choose the best answer.)
Â
A. Suspension from school for plagiarism.
B. A zero. Even if another programmer has given permission for their code to be reused by statement on a web page or just by sharing on the Web, their work should be cited.
C. A warning for plagiarism but no effect to their grade.
D. No consequences. Any programmer who shares their code online is giving it willingly with no expectations of their contribution.
B. A zero. Even if another programmer has given permission for their code to be reused by statement on a web page or just by sharing on the Web, their work should be cited.
The act of illegally making copies of software or enabling others to access software to which they are not entitled is
Â
A. copyright infringement
B. software piracy
C. integrity
D. hacking
E. a data breach
B. software piracy
What would be the most credible source for a project on historical fashion?
Â
A. A fictional historical novel where the author did extensive research of the fashion of the day
B. A college website
C. A blog from an author whose resume shows they are an expert in historical fashion
D. Scholarly journal from a well-known expert in the field
C. A blog from an author whose resume shows they are an expert in historical fashion
Which of the following the best definition of “intellectual property”?
Â
A. The act of taking ownership of a subordinate’s creative works.
B. The right of a business to secure the deliverables generated by its employees.
C. A physical asset that has academic significance
D. Refers to creations of the mind, such as literary works, art, designs, and inventions.
E. The licensing of one’s thoughts.
D. Refers to creations of the mind, such as literary works, art, designs, and inventions.
Which of the following could be a consequence of copying and distributing copyrighted software as your own?
Â
A. Community service
B. Civil suit
C. Legal fees
D. Imprisonment
A. Community service
B. Civil suit
C. Legal fees
D. Imprisonment
What is an example of plagiarism?
Â
A. Rewriting someone else's essay but using your own word and noting the author's name at the end
B. Borrowing code from another programmer without giving credit
C. Borrowing someone else’s work and citing the author
D. Paraphrasing a paragraph you found online and adding just the website address.
B. Borrowing code from another programmer without giving credit
It is illegal to open and read someone else's email without permission even if you have their password.
Â
A. True
B. False
A. True
Which of the following is considered an unethical use of computer resources?
Â
A. Downloading file sharing software on your home computer
B. Searching online for an electronic version of a textbook
C. Purchasing an app from an app store and downloading it directly to a mobile device
D. Searching online for the answers to exercises and quizzes
D. Searching online for the answers to exercises and quizzes
What is Agile Design?
Â
A. A software development cycle that includes long development cycles which allow for frequent feedback
B. A software development cycle that includes short development cycles which allow for frequent feedback
C. A software development cycle that includes long development cycles which allow for infrequent feedback
D. A software development cycle that includes short development cycles which allow for feedback at the end of the process
B. A software development cycle that includes short development cycles which allow for frequent feedback
Look at the list below:
var myNumbers = [32, 64, 33, 0 , 15, 26, 3]
Based on the CollegeBoard requirements of lists what is the index value for:Â myNumbers[3]
Â
A. 15
B. 3
C. 0
D. 33
D. 33
Look at the list below:
var myNumbers = [32, 64, 33, 0 , 15, 26, 3]
Based on the CollegeBoard requirements of lists what is the index value for:Â myNumbers[6]
Â
A. 64
B. 32
C. 26
D. 3
C. 26
Look at the list below:
var myNumbers = [32, 64, 33, 0 , 15, 26, 3]
What is the index value for: myNumbers[0]
Â
A. 3
B. 0
C. 32
D. 33
C. 32
Look at the list below:
var myNumbers = [32, 64, 33, 0 , 15, 26, 3]
What is the index value for:Â myNumbers[2]
Â
A. 0
B. 64
C. 26
D. 33
D. 33
![<p><span>Based on the CollegeBoard requirements of traversals, what will be stored in updatedScores after this code segment is run?</span></p><p></p><p>A. [5, 0, 0, 5, 5]</p><p>B. [77, 37, 50, 92, 86]</p><p>C. [0, 37, 50, 0, 0]</p><p>D. [82, 0, 0, 97, 91]</p>](https://assets.knowt.com/user-attachments/918d64a5-5199-4ac6-90b4-fbb0f7ef025d.png)
Based on the CollegeBoard requirements of traversals, what will be stored in updatedScores after this code segment is run?
A. [5, 0, 0, 5, 5]
B. [77, 37, 50, 92, 86]
C. [0, 37, 50, 0, 0]
D. [82, 0, 0, 97, 91]
D. [82, 0, 0, 97, 91]

Based on the CollegeBoard requirements of lists, what will be displayed after this code segment is run?
A. 3
B. 2
C. 1
D. 4
D. 4

Based on the CollegeBoard requirements of loops, what will be displayed after this code segment is run?
A. "1 3 5"
B. "1 3 6"
C. "2 4 6"
D. "1 2 3"
A. "1 3 5"

Based on the CollegeBoard requirements of loops, what will be displayed after this code segment is run?
A. "and 0 and 1 and 2"
B. "and 1 and 2 and 3"
C. "0 and 1 and 2"
D. "1 and 2 and 3"
B. "and 1 and 2 and 3"

Based on the CollegeBoard requirements of lists, what will be displayed after this code segment is run?
A. emerald
B. garnet
C. opal
D. sapphire
A. emerald
#1: Which area on the Scratch interface allows you to change the background of a Scratch screen?
Â
A. Backpack
B. Scripts area
C. Help area
D. Stage information box
D. Stage information box
#1: Which user interface component does NOT usually need an event handler?
Â
A. Button
B. Checkbox
C. Textfield
D. Label
D. Label
#1: Before planning the logic of the program, a programmer must ___________________________________.
Â
A. test the program.
B. write the program code.
C. maintain the program.
D. understand the problem.
D. understand the problem.
What does the event handler do in programming code?
Â
A. Sends a message to a button
B. Listens for a keystroke
C. Listens for a click of a button
D. executes a sequence of commands in its block
D. executes a sequence of commands in its block