Ap Computer Science Principles 2020 Practice Exam 1 Mcq Free -

Ap Computer Science Principles 2020 Practice Exam 1 Mcq Free -

IF (score > 90) DISPLAY("A") ELSE IF (score > 80) DISPLAY("B") ELSE DISPLAY("C")

The AP Computer Science Principles 2020 Practice Exam 1 MCQ consists of 70 multiple-choice questions, which are divided into two sections:

DISPLAY max

0 Question 4 Which of the following is correct about computer networks and routing? I. Computer networks are interconnected computers and computing devices that have the ability to send and receive data within the network. II. To send data from a computer to another in a network, the routing process finds a path from the sender to the receiver. III. The Internet is the network of the interconnected networks that use standardized protocols to manage sending and receiving data through it. A) I only B) II only C) I and II only D) I, II, and III Answer Key & Explanations Correct: C ✅ Explanation ap computer science principles 2020 practice exam 1 mcq

An undecidable problem is one for which no algorithm can be written that always leads to a correct yes-or-no answer (e.g., the Halting Problem).

Selling user data without consent is a violation of user privacy expectations and potentially laws like GDPR or CCPA.

Which of the following scenarios best exemplifies a "phishing" attack? A) A hacker guesses a user's password by trying every possible combination of characters. B) A user receives an email appearing to be from their bank, asking them to click a link and verify their account number. C) A software bug causes the system to crash when a specific input is entered. D) A virus attaches itself to a legitimate program and spreads when the program is run. IF (score > 90) DISPLAY("A") ELSE IF (score

The score 85 is not greater than 90 (first condition fails). It moves to the ELSE block. 85 is greater than 80 (second condition true). It displays "B".

2 Hours (Adjust as needed for practice) Questions: 25 sample questions

Logic and Boolean AlgebraYou will encounter many questions involving IF-statements and nested loops. Success here depends on your ability to trace code. Remember the logic of AND, OR, and NOT. A common pitfall is the "NOT" operator, which flips the truth value of a statement. Practice these until the logic feels second nature. The Internet is the network of the interconnected

Binary addition: $101 (5) + 011 (3) = 1000 (8).$ You carry the 1 in the second and third columns.

Computers only understand binary (machine code). High-level languages (like Python or Java) must be compiled or interpreted into machine code.