Name_______________________
Login___________________SID________
CS 010: Introduction to
Computer Science I
Quiz 1: 8 minutes
- Secondary storage is substantially bigger and
faster than primary storage.
- TRUE
- FALSE
- In C++, each statement must be on a separate
line.
- TRUE
- FALSE
- Instructions encoded as numbers, is an example of
- assembly language
- high-level language
- machine
language
- Choose the correct statement.
a.
A compiler
translates one high-level program instruction at a time into machine code and
immediately executes that code.
b. Compilation is
the process of translating a source program into an object program.
c.
A program written
in a high-level language is called an object program.
d.
A program that
consists of machine language instructions is called a source program.
- Computers are very systematic and can never
guess.
- TRUE
- FALSE
- Planning out an algorithm to solve the required
problem is the first step in programming.
- TRUE
- FALSE
- What kind of error causes a program to not be
able to finish compiling?
- logic error
- operational error
- semantic error
- syntax
error
- computational error
- The following shows what kind of error?
#include
<iostream>
using
namespace std;
int
MAIN()
{
cout << “This is my first
test.\n”;
return 0;
}
- compile-time
error
- run-time error
- linking error
- object code error
- No errors