COMP 308 JAVA FOR PROGRAMMERS ACTUAL
QUESTIONS WITH VERIFIED SOLUTIONS
◉ What is a pixel?
Answer: A tiny picture element, or dot, that forms part of an image
on the screen.
◉ What is a software program?
Answer: A set of instructions that tells a computer what to do.
◉ What is a programming language?
Answer: A language used to write instructions that communicate
with a computer.
◉ What are the 3 categories of programming languages?
Answer: Machine language, assembly language, and high-level
language.
◉ What is machine language?
Answer: A set of primitive computer instructions written in binary
code using 0s and 1s.
, ◉ What is assembly language?
Answer: A programming language that uses symbolic instructions
and must be translated into machine code by an assembler.
◉ What is a high-level language?
Answer: An English-like programming language that is easier for
humans to learn and use.
◉ Give examples of high-level programming languages.
Answer: COBOL, FORTRAN, BASIC, Pascal, Ada, C, Visual Basic,
Delphi, C++, C#, and Java.
◉ What is source code?
Answer: A program written by a programmer in a high-level
programming language.
◉ What is a compiler?
Answer: A program that translates source code into machine
language or object code.
◉ What is an object program?
Answer: The machine-language program produced by a compiler.
QUESTIONS WITH VERIFIED SOLUTIONS
◉ What is a pixel?
Answer: A tiny picture element, or dot, that forms part of an image
on the screen.
◉ What is a software program?
Answer: A set of instructions that tells a computer what to do.
◉ What is a programming language?
Answer: A language used to write instructions that communicate
with a computer.
◉ What are the 3 categories of programming languages?
Answer: Machine language, assembly language, and high-level
language.
◉ What is machine language?
Answer: A set of primitive computer instructions written in binary
code using 0s and 1s.
, ◉ What is assembly language?
Answer: A programming language that uses symbolic instructions
and must be translated into machine code by an assembler.
◉ What is a high-level language?
Answer: An English-like programming language that is easier for
humans to learn and use.
◉ Give examples of high-level programming languages.
Answer: COBOL, FORTRAN, BASIC, Pascal, Ada, C, Visual Basic,
Delphi, C++, C#, and Java.
◉ What is source code?
Answer: A program written by a programmer in a high-level
programming language.
◉ What is a compiler?
Answer: A program that translates source code into machine
language or object code.
◉ What is an object program?
Answer: The machine-language program produced by a compiler.