APCSP 2021 Practice Exam MCQ Questions & Answers!!!
1 view 0 purchase
Course
APCSP
Institution
APCSP
Which of the following is an example of a phishing attack?
A) Loading malicious software onto a user's computer in order to secretly gain access to sensitive information
B) Flooding a user's computer with e-mail requests in order to cause the computer to crash
C) Gaining remote access to a user'...
APCSP 2021 Practice Exam MCQ
Questions & Answers!!!
Which of the following is an example of a phishing attack?
A) Loading malicious software onto a user's computer in order to secretly gain access to
sensitive information
B) Flooding a user's computer with e-mail requests in order to cause the computer to
crash
C) Gaining remote access to a user's computer in order to steal user IDs and
passwords
D) Using fraudulent e-mails in order to trick a user into voluntarily providing sensitive
information - ANSWER D
To be eligible for a particular ride at an amusement park, a person must be at least 12
years old and must be between 50 and 80 inches tall, inclusive.
Let age represent a person's age, in years, and let height represent the person's height,
in inches. Which of the following expressions evaluates to true if and only if the person
is eligible for the ride?
Responses
A) (age ≥ 12) AND ((height ≥ 50) AND (height ≤ 80))
B) (age ≥ 12) AND ((height ≤ 50) AND (height ≥ 80))
C) (age ≥ 12) AND ((height ≤ 50) OR (height ≥ 80))
D) (age ≥ 12) OR ((height ≥ 50) AND (height ≤ 80)) - ANSWER A
Consider the following code segment.
first <- 100
second <- 200
temp <- first
second <- temp
first <- second
What are the values of first and second as a result of executing the code segment?
A) first = 100, second = 100
B) first = 100, second = 200
C) first = 200, second = 100
D) first = 200, second = 200 - ANSWER A
Which of the following best explains the relationship between the Internet and the World
Wide Web?
A) Both the Internet and the World Wide Web refer to the same interconnected network
of devices.
B) The Internet is an interconnected network of data servers, and the World Wide Web
is a network of user devices that communicates with the data servers.
C) The Internet is a local network of interconnected devices, and the World Wide Web is
a global network that connects the local networks with each other.
,D) The Internet is a network of interconnected networks, and the World Wide Web is a
system of linked pages, programs, and files that is accessed via the Internet. -
ANSWER D
A code segment is intended to display the following output.
up down down down up down down down
Which of the following code segments can be used to display the intended output?
A
B
C
D - ANSWER A
Which of the following best exemplifies the use of multifactor authentication to protect
an online banking system?
A) When a user resets a password for an online bank account, the user is required to
enter the new password twice.
B) When multiple people have a shared online bank account, they are each required to
have their own unique username and password.
C) After entering a password for an online bank account, a user must also enter a code
that is sent to the user's phone via text message.
D) An online bank requires users to change their account passwords multiple times per
year without using the same password twice. - ANSWER C
A game is played by moving a game piece left or right along a horizontal game board.
The board consists of spaces of various colors, as shown. The circle represents the
initial location of the game piece.
The following algorithm [. . .]
If a game is begun by placing the game piece on the rightmost black space for step 1,
what will be the value of the counter at the end of the game?
A) 2
B) 3
C) 4
D) 5 - ANSWER C
Which of the following best describes a direct benefit in using redundant routing on the
Internet?
A) Redundancy enables messages to be transmitted with as few packets as possible.
B) Redundancy enables network devices to communicate with as few network
connections as possible.
C) Redundancy often allows messages to be sent on the network even if some network
devices or connections have failed.
D) Redundancy prevents network communications from being intercepted by
unauthorized individuals. - ANSWER C
, Which of the following best explains how an analog audio signal is typically represented
by a computer?
A) An analog audio signal is measured as input parameters to a program or procedure.
The inputs are represented at the lowest level as a collection of variables.
B) An analog audio signal is measured at regular intervals. Each measurement is stored
as a sample, which is represented at the lowest level as a sequence of bits.
C) An analog audio signal is measured as a sequence of operations that describe how
the sound can be reproduced. The operations are represented at the lowest level as
programming instructions.
D) An analog audio signal is measured as text that describes the attributes of the
sound. The text is represented at the lowest level as a string. - ANSWER B
The player controls in a particular video game are represented by numbers. The
controls and their corresponding binary values are shown in the following table. [table]
What is the decimal value for the jump control?
A) 3
B) 12
C) 24
D) 48 - ANSWER C
[same prompt as last question]
What control is represented by the decimal value 15 ?
A) ←
B) ↑
C) →
D) ↓ - ANSWER D
The grid below contains a robot represented as a triangle, initially facing toward the top
of the grid. The robot can move into a white or gray square but cannot move into a black
region.
[grid]
The code segment below uses the procedure goalReached, which evaluates to true if
the robot is in the gray square and evaluates to false otherwise.
REPEAT UNTIL(goalReached())
{
<MISSING CODE>
}
Which of the following replacements for <MISSING CODE> can be used to move the
robot to the gray square?
A
B
C
D - ANSWER C
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller shantelleG. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $18.99. You're not tied to anything after your purchase.