AP Computer Science Practice Test 3
Exam Summary
0 of 10 Questions completed
Questions:
Information
You have already completed the exam before. Hence you can not start it again.
Exam is loading…
You must sign in or sign up to start the exam.
You must first complete the following:
Results
Results
0 of 10 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 10
1. Question
A certain bank uses an AI system to determine whether a customer can be given a loan or not. The AI uses attributes like age, employment status, and active-loan status to judge.
This has caused very few loans to be given out to recent college graduates because of their existing college loans. Where does the bias exist within the data processing cycle?
CorrectIncorrect -
Question 2 of 10
2. Question
A private company employee needs to share some of the confidential files from his organization with an employee from another organization.
However, the files cannot be directly sent, and there needs to be some encryption on the files to prevent unauthorized access from a third-party body.
Which of the following encryption methods would offer the best encryption here?
CorrectIncorrect -
Question 3 of 10
3. Question
When you develop and execute a program, the program runs without a problem but does not yield the expected results. You change some of the code and execute the program again, but the same issue persists. What sort of error is likely causing this issue?
CorrectIncorrect -
Question 4 of 10
4. Question
A mobile device is programmed to change the orientation of its display screen with the help of a gyroscope inside it. What sort of programming is this an example of?
CorrectIncorrect -
Question 5 of 10
5. Question
A college library uses RFID technology to allow students to automatically borrow and return books. A computer program is used to count each time a book is borrowed or returned by a student.
This information is stored under variables borrowed and returned, respectively. Which of the following conditions would be true if all borrowed books had already been returned?
CorrectIncorrect -
Question 6 of 10
6. Question
An Internet service provider uses a server to cache information about its client users’ most frequently visited web pages. Which of the following would not be impacted by an update to this server?
CorrectIncorrect -
Question 7 of 10
7. Question
A hotel uses an algorithm to allow possible clients to reserve a room for a particular time slot from their website. The algorithm performs five functions, described below.
What should be the order in which these functions are called for the algorithm to work properly?
Functions:
I. for the site to update the available time slots after a room is reserved
II. to record a reservation
III. to check for available rooms in the required time slots
IV. for the website to show the time periods for which a room is available
V. to make a request to reserve a room for the required time period
CorrectIncorrect -
Question 8 of 10
8. Question
A DISPLAY command can show a num variable that holds an integer value. What would the following code display if it is executed?
DISPLAY (num MOD 10)
CorrectIncorrect -
Question 9 of 10
9. Question
Consider a code that uses different variables (a, b, and c) to store certain integer values and performs different data flow functions before displaying a particular output, shown below. What will be the output result of running this algorithm?
a ←10
b ← 9
c ← 7
b ← c
c ←8
DISPLAY (b)
DISPLAY (a)
CorrectIncorrect -
Question 10 of 10
10. Question
You connect a new device to your Wi-Fi internet connection at home. What will happen next?
CorrectIncorrect