AP Computer Science Test 1 Chapter 1,2,3(Complete solutions)
What is a sequence of instructions which enables a computer to perform a desired task? correct answers a program How many BITs are in a byte? correct answers 8 What number system does the computer use to process information? correct answers Base-2(binary) In computers the main circuit board with the primary computer components is called the______. correct answers motherboard Which of the following are the brains of the computer? correct answers CPU A _____ is a sequence of instructions, which enables a computer to perform a desired task. correct answers program Word, PowerPoint and Excel are all examples of correct answers application software Which symbol is the escape sequence for a tab? correct answers t Define a variable to hold counting numbers from 1 to 100: correct answers int num = ___; Define a variable to hold the sum of integer values: correct answers int sum = ____; Define a variable to hold a student's GPA: correct answers double average = 90; Define a variable to hold a student's last name: correct answers String name = ¨Smith¨; Define a variable to store a value to indicate if a student is an honor student correct answers boolean honor = true; int num1 = 5; int num2 = 20; double d1 = 10.5; double d2 = 1.1; num1 = num1 + 10; correct answers num1 = 15 int num1 = 5; int num2 = 20; double d1 = 10.5; double d2 = 1.1;
Información del documento
- Subido en
- 23 de mayo de 2024
- Número de páginas
- 5
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas