1st Semester Exam Review Flashcards
(138 cards)
A correct program is a set of instructions in a specific sequence, which must correctly describe the logic of a particular need. True or False?
True
Programming languages are usable by humans, but must be translated to machine code. True or False?
True
In a decision structure a true/false question is asked, and the program chooses one of two paths depending on whether the answer is true or false. True or False?
True
What is the output of the following boolean expression?
7>=4. True or False?
True
A variable name is called an identifier. True or False?
True
Character variables may contain a sequence of characters. True or False?
False
When is planning and design of programs important?
Always, even small programs need to be planned and designed well before coding.
The specific rules defined by the grammar of a programming language represent its __________
syntax
The most amount of time is spent in this phase of software development.
Deploy and Maintain the program
Internal storage is commonly called _________
memory, main memory, or primary memory
What step must be first when developing a software application?
Understand the problem
Which of the steps is where the programmer designs a plan that includes the steps needed to provide a software solution to a prom?
Plan the logic
A(n) ___________ system is a previous software solution that fulfilled a business need.
legacy
These three relational operators are not supported by SNAP
> =,
What is (4+5) * 3
27
Which is a double value?
a) 19
b) 1
c) 3.4
d) 15
c) 3.4
Procedural Abstraction enables what 3 things?
1) Software reuse
2) Through parameterization, allows a single block to perform a wide range of customized actions
3) Captures the essence of a group of related statements in a generalized block name
Integer variables may only contain any real number values. True or False?
False
The specific meaning of special commands of a programming language represent its _________.
semantics
Three examples of external storage
1) hard drives
2) USB storage drives
3) burn-abled CD/DVD
Which may be the most difficult part of software development?
Understand the Problem
Putting on shoes before socks is an example of what type of error?
Logic
Which of the following statements is an example of a decision programming structure?
a) if
b) repeat until
c) forever
d) repeat
a) if
According to Kramer’s article on abstraction, English is a foundational skill primarily needed for students to understand abstraction.True or False?
False (the right subject is math)