ITM 200- Midterm Exam Questions &
Answers (Grade A+)
program -
correct answer ✅set of computer executable instructions
source code -
correct answer ✅is the computer instructions written by
programmers.
program execution requires what? -
correct answer ✅source code to be compiled or interpreted
compiler -
correct answer ✅a special software that allows a prorgam to be
read by machine. java and c++ needs its source code to be run
thorugh a compiler to turn it to a executable.
executable -
correct answer ✅is a software file that is read to be used, for
example windows.exe
interpreted language -
correct answer ✅This means that the code does not require a
,ITM 200- Midterm Exam Questions &
Answers (Grade A+)
compiler for it to run and its able to run the program directly from
the python interpreter
print -
correct answer ✅allows a text to be printed. example: print("hello
world")
syntax error -
correct answer ✅this is a indicator that you messed up one of the
programs grammatical rules. for example: print("hello) <--- missing
a"
semantic errors -
correct answer ✅the output you want is not given even though
you have a correct syntactic. for example you indent to find the
highest average in the class with the code but you dont get the
right anwser.
logic error -
correct answer ✅similar to semantic errors, they are the mistakes
in program flow.
, ITM 200- Midterm Exam Questions &
Answers (Grade A+)
debugging -
correct answer ✅finding out the issues of the error
arithmetic expression -
correct answer ✅a operation using arithmetic operators(i.e,
multiplication*, division/, addition+)
assignment operator -
correct answer ✅the "=" sign is an assignment operator it assigns
a variable to a something, for example, x= 100.
variables needs to be stored in what? to preform its calculations. -
correct answer ✅varibles need to be stored in RAM for a program
to preform its calculations
int -
correct answer ✅used for variables to hold narutal numbers and
the negitive counter parts 0,1,2,3,4,5 or -1,-2,-3,-4,-5
float -
correct answer ✅real numbers such as 1.0, 0.5, 1.11, -2.35
Answers (Grade A+)
program -
correct answer ✅set of computer executable instructions
source code -
correct answer ✅is the computer instructions written by
programmers.
program execution requires what? -
correct answer ✅source code to be compiled or interpreted
compiler -
correct answer ✅a special software that allows a prorgam to be
read by machine. java and c++ needs its source code to be run
thorugh a compiler to turn it to a executable.
executable -
correct answer ✅is a software file that is read to be used, for
example windows.exe
interpreted language -
correct answer ✅This means that the code does not require a
,ITM 200- Midterm Exam Questions &
Answers (Grade A+)
compiler for it to run and its able to run the program directly from
the python interpreter
print -
correct answer ✅allows a text to be printed. example: print("hello
world")
syntax error -
correct answer ✅this is a indicator that you messed up one of the
programs grammatical rules. for example: print("hello) <--- missing
a"
semantic errors -
correct answer ✅the output you want is not given even though
you have a correct syntactic. for example you indent to find the
highest average in the class with the code but you dont get the
right anwser.
logic error -
correct answer ✅similar to semantic errors, they are the mistakes
in program flow.
, ITM 200- Midterm Exam Questions &
Answers (Grade A+)
debugging -
correct answer ✅finding out the issues of the error
arithmetic expression -
correct answer ✅a operation using arithmetic operators(i.e,
multiplication*, division/, addition+)
assignment operator -
correct answer ✅the "=" sign is an assignment operator it assigns
a variable to a something, for example, x= 100.
variables needs to be stored in what? to preform its calculations. -
correct answer ✅varibles need to be stored in RAM for a program
to preform its calculations
int -
correct answer ✅used for variables to hold narutal numbers and
the negitive counter parts 0,1,2,3,4,5 or -1,-2,-3,-4,-5
float -
correct answer ✅real numbers such as 1.0, 0.5, 1.11, -2.35