Quiz
Week 1 Practice Quiz
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (12)
1Another term for programs is:
- AHardware
- BSoftware
- CFirmware
- DShareware
2Application software refers to:
- AThe operating system
- BPseudocode
- CKey words
- DThe programs that make the computer useful to the user
3Key words are:
- AThe data names in your program
- BWords that have a special meaning in the programming language
- CSymbols or words that perform operations on one or more operands
- DWords or names defined by the programmer
4The data contained in an object is known as:
- AMethods
- BAttributes
- CClasses
- DAtriums
5The purpose of validating the results of the program is:
- ATo create a model of the program
- BTo correct syntax errors
- CTo correct runtime errors
- DTo determine whether the program solves the original problem
6Which of the following is NOT part of the programming process?
- ADesign
- BTesting
- CDebugging
- DAll these are parts of the programming process.
7Character literals are enclosed in ________; string literals are enclosed in ________.
- Asingle quotes; single quotes
- Bdouble quotes; double quotes
- Csingle quotes; double quotes
- Ddouble quotes; single quotes
8 In the following Java statement what value is stored in the variable name?
String name = "John Doe";- AJohn Doe
- BThe memory address where "John Doe" is located
- Cname
- DThe memory address where name is located
9Breaking a program down into small manageable methods:
- Amakes problems more easily solved
- Ballows for code reuse
- Csimplifies programs
- DAll of these
10Methods are commonly used to:
- Aspeed up the compilation of a program
- Bbreak a problem down into small manageable pieces
- Cemphasize certain parts of the logic
- Ddocument the program
11Which of the following statements correctly creates a Scanner object for keyboard input?
- AScanner kbd = new Scanner(System.keyboard);
- BScanner keyboard(System.in);
- CScanner keyboard = new Scanner(System.in);
- DKeyboard scanner = new Keyboard(System.in);
12Which Scanner class method reads an int?
- AreadInt()
- BnextInt()
- CgetInt()
- Dread_int()
Information
- Description
- CPSI 1413 Quiz on Week 1 Practice Quiz, created by Adam Peterson on 11/03/2019.
- Author
- Adam Peterson
- Language
- English
- Views
- 1
- Tags
- Rating
- No ratings yet Rate this quiz