Quiz
MIS 501 - Object-Oriented Programming
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 (38)
1A single binary digit (0 or 1) is called a
- Abit
- Bbyte
- Cnumber system
- Dbinary number system
2The purpose of writing a program is to
- ASolve a Problem
- BTest a solution
- CStore information
- DDevelop a Permutation
3Solving a problem consists of all of the following activities except FOR:
- AUnderstand the problem
- BTest the solution
- CDesign a solution, consider alternatives, and refine the solution
- DDevelop a program
4Writing the code refers to:
- ATesting the solution
- BImplementing the solution
- CUnderstanding the problem
- DDesigning a solution
5The final step in solving a problem is:
- AImplement the solution
- BDesign a solution
- CTest the solution
- DUnderstand the problem
6The first electronic general-purpose computer was the ENIAC
- ATrue
- BFalse
7The following are four programming language levels except FOR:
- AMachine language
- BAssembly language
- CHigh-level language
- DObject-oriented language
8Each type of CPU has the same language.
- ATrue
- BFalse
9Java is an example of an assembly language.
- ATrue
- BFalse
10With Logical errors:
- AA program may run, but produce incorrect results.
- BAn executable version of the program is not produced.
- CA problem can occur during program execution.
- DA program may terminate abnormally.
11The compiler will find syntax errors and other basic problems with:
- ACompile-time errors
- BRun-Time error
- CLogical errors
- DSyntax errors
12A problem can occur during program execution:
- ACompile-time error
- BRun-Time error
- CLogical errors
- DSyntax errors
13An object can also represent a particular employee in a company.
- ATrue
- BFalse
14Objects are the fundamental building blocks of a Java program.
- ATrue
- BFalse
15White space is used to separate words and symbols in a program.
- ATrue
- BFalse
16The Java __________________ translates Java source code into a special representation called bytecode
- ACompiler
- BInterpreter
- CBytecode
- Darchitecture-neutral
17Which of the following software tools translates bytecode into machine language and executes it statement by statement?
- ACompiler
- BMachine language
- CInterpreter
- DMachine code
18Which of the following software tools translates source code into a specific target language?
- ACompiler
- BTranslator
- CInterpreter
- DBytecode
19The ___________________ rules of a language define how we can put together symbols, reserved words, and identifiers to make a valid program.
- Asemantics
- Bsyntax
- Ccompiler
- Dprogram
20All of the following are three types of program errors except FOR:
- Acompile-time errors
- Brun-time error
- Clogical error
- Dillogical error
21Which of the following is an example of a run-time error?
- ATrying to divide by zero.
- BThe compiler will find syntax errors and other basic problems.
- CThe program may run but produce incorrect results.
- DAn incorrect formula was used
22Which of the following errors may allow the program to run but produce incorrect results?
- ALogical errors
- BRun-time errors
- CCompile-time errors
- DSyntax errors
23The compiler will find syntax errors and other basic problems in which of the following errors?
- Acompile-time errors
- Brun-time errors
- Clogical errors
- Dsyntax errors
24_______________________ is the most basic programming language.
- AAssembly language
- BMachine language
- CHigh-Level language
- DFourth-generation language
25A system that is syntactically correct is always logically correct.
- ATrue
- BFalse
26The _______________ of a program define what that statement means.
- Asyntax
- Bsemantics
- Crules
- Dcompiler
27A ____________ causes a program to terminate abnormally.
- Alogical
- Brun-time
- Ccompile-time
- Dsyntax
28A character string is an object in Java.
- ATrue
- BFalse
29A java application never contains a method called main
- ATrue
- BFalse
30Which of the following statements about the Java programming language is correct?
- AA program is made up of one or more classes
- BA class contains one or more methods
- CA method contains program statements
- DAll of the above statements are correct
31____________________________ is used to separate words and symbols in a program.
- AWhite space
- BSemantics
- CSyntax
- DBlank lines
32Extra white space is ignored.
- ATrue
- BFalse
33A _____________________________ is made up of one or more classes.
- AClass
- BProgram
- CMethod
- DStatement
34A _____________________ contains one or more methods.
- Aclass
- Bmethod
- Cprogram
- Dapplication
35A _____________________ contains program statements.
- Aprogram
- Bclass
- Cmethod
- Dmain
36A Java Application always contains a method called ___________________________.
- Amethod
- Bclass
- Cprogram
- Dmain
37Classes are the key to understanding object-oriented programming.
- ATrue
- BFalse
38A class is the blueprint of an object.
- ATrue
- BFalse
Information
- Description
- Quiz on MIS 501 - Object-Oriented Programming, created by Jennifer Yarde on 05/11/2019.
- Author
- Jennifer Yarde
- Language
- English
- Views
- 1
- Tags
- Rating
- No ratings yet Rate this quiz