AP COMPUTER SCIENCE A UPDATED
ACTUAL QUESTIONS AND CORRECT
ANSWERS COMPLETE STUDY GUIDE
●● operating system
Answer: a program that manages system-level tasks a computer
performs
●● Interactive Development Environment (IDE)
Answer: a programming environment that includes an editor, debugger,
and compiler
●● user interface
Answer: the way a user interacts with a computer program
●● String literal
Answer: one or more characters enclosed in double quotation marks
●● operand
Answer: a value or variable that is operated on in an arithmetic
expression
,●● operator
Answer: a symbol specifying a mathematical or logical operation
●● modulus
Answer: the remainder after performing division when the % sign is
used in an arithmetic expression
●● concatenation
Answer: an operation which combines two strings into one
●● assignment operator
Answer: the = symbol which is used to store a value in a variable
●● variable
Answer: a symbol that represents a value and identifies its storage
location in memory
●● primitive data types
Answer: a data type defined by a programming language;
e.g. int, double
●● instance
Answer: a specific realization of any object
, ●● int data type
Answer: a primitive data type that represents integer values. Ranges
from -2147483648 to 2147483648
●● data type declaration
Answer: declares the data type of a variable;
e.g. int a;
●● base-2 representation
Answer: binary -- (0, 1)
●● base-8 representation
Answer: octal -- (0, 1, 2, 3, 4, 5, 6, 7)
●● base-10 representation
Answer: decimal -- (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
●● base-16 representation
Answer: hexadecimal -- (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f);
begins with 0x
ACTUAL QUESTIONS AND CORRECT
ANSWERS COMPLETE STUDY GUIDE
●● operating system
Answer: a program that manages system-level tasks a computer
performs
●● Interactive Development Environment (IDE)
Answer: a programming environment that includes an editor, debugger,
and compiler
●● user interface
Answer: the way a user interacts with a computer program
●● String literal
Answer: one or more characters enclosed in double quotation marks
●● operand
Answer: a value or variable that is operated on in an arithmetic
expression
,●● operator
Answer: a symbol specifying a mathematical or logical operation
●● modulus
Answer: the remainder after performing division when the % sign is
used in an arithmetic expression
●● concatenation
Answer: an operation which combines two strings into one
●● assignment operator
Answer: the = symbol which is used to store a value in a variable
●● variable
Answer: a symbol that represents a value and identifies its storage
location in memory
●● primitive data types
Answer: a data type defined by a programming language;
e.g. int, double
●● instance
Answer: a specific realization of any object
, ●● int data type
Answer: a primitive data type that represents integer values. Ranges
from -2147483648 to 2147483648
●● data type declaration
Answer: declares the data type of a variable;
e.g. int a;
●● base-2 representation
Answer: binary -- (0, 1)
●● base-8 representation
Answer: octal -- (0, 1, 2, 3, 4, 5, 6, 7)
●● base-10 representation
Answer: decimal -- (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
●● base-16 representation
Answer: hexadecimal -- (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f);
begins with 0x