stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Programming If While Flashcards | StudBud
Explore
/
Programming If While
Programming If While
40 terms
·
StudBud Administration
Computer Programming Midterm Review
Flashcards
40 cards
F
Practice quiz
P
Host live
L
Questions
40
Answers
1
All data that is stored in a computer is coverted to sequences of:
On/Off
1/2
0/1
True/False
2
Two way communication uses what type of parameter:
Value
Single
Reference
Double
3
The following are all common restrictions on variables except:
No capital letters
No Spaces
First character can't be a #
No punctuation
4
A type of memory that can hold data for long periods of time.
RAM
Secondary
GigaBytes
Main
5
This is the only language a computer can read
human
pseudocode
code
machine
6
The word to descirbe the person, group, or organization asking for your program:
Customer
Seller
Writer
Programmer
7
A computer program follows the following when perform mathematical calculations:
Algorithms
Mathematics Way
Order of Operations
Multiplication
8
This type of decision structure will execute 1 group of statements if true and another if false
Alternate Choice
Single Alternative
Dual Alternative
2-Way
9
This type of error prevents the programming from running.
Syntax
Grammar
Capitalization
Logic
10
The following are all high-level languages except:
Visual Basic
Fortran
Java
Assembly
11
This is placed in the ending terminal of a module:
Start
Peace
Return
Begin
12
This is made up of 8 bits.
MegaByte
Byte
Switch
GigaByte
13
This operator is best used to find if a value is inside the range of 5 to 15.
AND
NOT
==
OR
14
True or False: You can input two variables in one line of code.
FALSE
TRUE
15
These type of variables have a limited scope to the module they were declared in.
GLOBAL
MOD
LOCAL
VALUE
16
This type of documentation is for the programmer and explains how a program works:
User Manual
External
Internal
Real
17
An error that occurs which doesn't prevent the programming from running.
Grammar
Punctuation
Logic
Syntax
18
This type of variable is accessible by all modules:
Global
Parameter
Local
By Ref
19
How many times will the following loop iterate?
Infinite
0
1
21
20
Programs taht control and manage the basic operations of a computer are:
Programs
Application Software
System Software
ASCII
21
This operator is used to find a value outside of a range of numbers from 5 to 10.
AND
OR
OUT
==
22
This is a group of statements that exist within a program to perform a specific task.
Decision Structure
Syntax
Module
Rules
23
< , > , <= , >= , == are all what operators?
Boolean
Mathematical
Relational
Logical
24
What is a storage location in memory that is represented by a name?
String
Place Holder
DataHolder
Variable
25
Pictures are composed of tiny dots called:
Binary
Pixels
Pics
Digital Devices
26
This is a special value that marks the end of a list of values:
Sentinel
Finish
Stop
End
27
This is the smallest storage location in a computer's memory.
bit
switch
num
bye
28
The following are all data types except:
BOOLEAN
INTEGER
REAL
NUMBER
29
Keyword to take in input from the keyboard is?
INPUT
DISPLAY
SET
DECLARE
30
The following shows what kind of loop?
PostTest
PreTest
Count-Controlled
While
31
A coding scheme consisting of 128 numeric codes to store letters, punctuation in memory
ASCII
Assembly
Unicode
Pixels
32
The Keyword we use to have screen output.
DISPLAY
SET
CODE
WRITE
33
This describes the part of a program in which a variable may be accessed.
Scope
Global
Local
Module
34
This is the visual graphic used to depict the flow of modules:
Hierarchy Chart
Top-Down Chart
Module Flow Chart
3D Chart
35
How many times will the following loop iterate?
0
Infinite
1
5
36
How many times will the following loop iterate?
10
1
5
Infinite
37
How many times will the following loop iterate?
5
None
Infinite
1
38
A set of statements that execute in the order that they appear is called a:
Order of Operations
Decision Structure
Sequence Structure
Step-by-Step
39
How many times will the following loop iterate?
1
Infinite
0
5
40
One way communication uses this type of parameter:
Double
Reference
Value
Single