1st Semester Exam Review Flashcards
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)
Abstraction skills cannot be taught. True or False?
False
An if statement is an example of a control structure. True or False?
True
A plan for solving a problem is not an algorithm if it requires infinite time or data. True or False?
True
An abstract step is one for which some details main remain unspecified. True or False?
True
Abstraction is only used for music and art, and is not meant for computing. True or False?
False
Abstraction is the ability to perform abstract thinking and to exhibit abstraction skills. True or False?
True
An algorithm is only useful if it uses a finite amount of time and data. True or False?
True
A selection construct allows a decision to be made in an algorithm that determines which action is performed next. True or False?
True
Abstraction is about understanding the low-level details of a particular concept or object. True or False?
False
What are three aspects of abstractions?
1) Creating models
2) Removing details to focus attention on an object
3) Knowing all stages of cognitive development
What percent of adolescents develop into the formal operational stage?
30-35%
What is the first step in the How to Solve It list?
Understand the problem
When should students be tested for abstraction?
Annually at college and at time of application to study computing
Whose studies found that individuals begin abstract thinking started at age 12?
Jean Piaget
What are good vehicles of teaching abstract thinking skills?
Math, Formal Modeling, and Analysis
Who wrote the book How to Solve It, which outlines a general approach to problem solving?
George Polya
The process of formulating a general description from general concepts.
Abstraction
A language resembling a programming language
Pseudocode
Where we “Bang on it a bit” in order to determine if the code is correct
Testing
Execution of statements one after the other
Sequential
A problem in our code
Bug
The World Wide Web first became available in what year?
1991
A Web page is a document with links that allow you to move from one document to another quickly. True or False?
True
Hyperlinks that move to a document on the same computer
Relative Hyperlinks
Hyperlinks that move to points within a document
Target Hyperlinks
Hyperlinks that move to a document on a different computer
Absolute Hyperlinks
HTML stands for
Hypertext markup language
A Web browser is a program that allows you to code text with HTML tags. True or False?
False
Some features available on the toolbar of a Web browser
Stop, refresh, home, search, back, forward, favorites, print
A web page is retrieved using a…
Uniform Resource Locator (URL)
The basic elements of a URL are: (5)
1) protocol
2) domain name
3) directory path
4) document name
5) anchor name