stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CMPS 1044 Exam 1 Review Flashcards | StudBud
Explore
/
CMPS 1044 Exam 1 Review
CMPS 1044 Exam 1 Review
38 terms
·
StudBud Administration
·
2 plays
This Quiz is meant to help you study for the First Exam of CS 1. Hope you guys enjoy
Flashcards
38 cards
F
Practice quiz
P
Host live
L
Questions
38
Answers
1
Preprocessor is the part of the computer that translates source language code to machine language instruction
False
True
2
Application Software
Runs programs in front end according to user requests.
Operates applications on the computer.
Keeps viruses from invading the motherboard.
Manages programs on a computer in background until computer shuts down.
3
Secondary Storage
Sets amount of spaces that can be taken up.
Holds data when computer is running.
Holds data while computer is off.
8 consecutive bits.
4
Convert AB to base 10
169
171
121
67
5
Int in C++ represents a decimal
True
False
6
What is an example of a variable assignment
int 5;
x = 5;
int x;
5 = x;
7
What does the manipulator setw (x) mean?
The set amount of spaces that can be taken up.
The width of the entire program allowed.
The length of Angelina's brain.
The set number of decimal places allowed.
8
Byte
10 consecutive bits
12 consecutive bits
15 consecutive bits
8 consecutive bits
9
The manipulator fixed setprecision (2) will allow two spaces total for the output
False
True
10
Overflow is when numbers are too large in C++
True
False
11
What does cout mean in C++
Output for the user
Declaration of a variable
Naming of a value
Input for the user
12
What does y *= 2 mean in C++
y^2
y*2 = 2
y / 2
y * 2
13
Which of the following is a valid declared variable
int age
int. age;
int_age;
int age;
14
In a C++ program, cin is followed by ">>"
True
False
15
Evaluate the following: 7%2 + 4/3
2
4
7
5
16
Convert 100100 to Base 10:
36
28
20
4
17
High-level language is like Grakachet's yelling at Angelina
False
True
18
Low-level language is used to communicate with hardware
False
True
19
Arithmetic Logic Unit (ALU) performs all math operations for computer
True
False
20
What is a double
Number that can hold a decimal
Variable that holds true or false
Whole numbers and zero
One singular character
21
A bool is a variable that holds true or false
True
False
22
A variable ALWAYS has to be on the left when in an assignment statement
True
False
23
A char is a singular character deliminated by ''
True
False
24
Control Unit
Controls the input that the user creates for the computer.
Holds data when computer is running.
Coordinates all operations of the computer.
Coordinates all mathematical operations of computer.
25
Reserved words are able to be used as declared variables in a program
False
True
26
CPU
part of computer that runs programs.
coordinates math operations.
variable that holds true or false.
translates input into machine instructions for the computer
27
Motherboard
translates source code to machine language instructions
Main circuit connecting all components of the computer.
Part of the computer that gives instructions on data.
Part of computer that runs programs.
28
System Software
Runs programs in front end according to user requests
Illuminates the screen of the computer.
Performs tasks in the background of the computer.
Manages programs on a computer in background until computer shuts down.
29
A bit is a single binary digit like 0 or 2
False
True
30
Set of well defined steps to perform a task or solve a problem
Algorithm
Procedure
Identifier Rules
Solution
31
Which of the following is a valid Identifier
!Friend6969
Grakachet_25
69Frederick
Angelina.Joline
32
Convert "56" to base 16:
45
26
38
A4
33
RAM
Holds program instructions and data.
The thingy angelina joline always talks about
A male sheep that lives on a mountain.
Also called main memory.
34
What is Queen Card's Least Favorite place to eat out of the following:
Chuck E Cheese
Wendy's
McDonald's
Burger King
35
Input devices include keyboard, microphone, and USB drives
False
True
36
Underflow is when numbers are too close to 0
False
True
37
What is the acceptable file extension for programs?
.iomanip
.pdf
.docx
.cpp
38
What is a string in C++
Deliminated by ""
1 singular character.
Deliminated by ''
2 or more characters.