D101 Practice Quiz - Questions and Answers
Assembler translates ________________ code into Machine Code. -
CORRECT ANSWERS ✔✔Assembly
Compiler translates ________________ code into machine code. -
CORRECT ANSWERS ✔✔entire
A flow Chart is ___________________. - CORRECT ANSWERS
✔✔a visual depiction of an algorithm
C# compilation is a 2-step process. The first step is
______________________. - CORRECT ANSWERS ✔✔compiling
the C# code into Intermediate Language Code.
A single line comment starts with ________. - CORRECT ANSWERS
✔✔//
If we miss a semicolon at the end of a C# code line, then it is
______________ error. - CORRECT ANSWERS ✔✔Syntax
Consider the following code:
, int num;
Console.WriteLine("Please enter an integer value: ");
num = Convert.ToInt32(Console.ReadLine());
If user has given "123A" as input, then it is a ______________ error. -
CORRECT ANSWERS ✔✔Runtime
What will be the output of the following code:
Console.WriteLine("Sum of numbers 45 & 89 is " + (45 + 89)); -
CORRECT ANSWERS ✔✔Sum of numbers 45 & 89 is 134
In a program the literal value 67 is by default considered as
__________ value. - CORRECT ANSWERS ✔✔int
An identifier can start with _______________. - CORRECT
ANSWERS ✔✔A letter, a dollar sign, or an underscore
Which of the following are value type data types?
A) int
B) bool
C) String
Assembler translates ________________ code into Machine Code. -
CORRECT ANSWERS ✔✔Assembly
Compiler translates ________________ code into machine code. -
CORRECT ANSWERS ✔✔entire
A flow Chart is ___________________. - CORRECT ANSWERS
✔✔a visual depiction of an algorithm
C# compilation is a 2-step process. The first step is
______________________. - CORRECT ANSWERS ✔✔compiling
the C# code into Intermediate Language Code.
A single line comment starts with ________. - CORRECT ANSWERS
✔✔//
If we miss a semicolon at the end of a C# code line, then it is
______________ error. - CORRECT ANSWERS ✔✔Syntax
Consider the following code:
, int num;
Console.WriteLine("Please enter an integer value: ");
num = Convert.ToInt32(Console.ReadLine());
If user has given "123A" as input, then it is a ______________ error. -
CORRECT ANSWERS ✔✔Runtime
What will be the output of the following code:
Console.WriteLine("Sum of numbers 45 & 89 is " + (45 + 89)); -
CORRECT ANSWERS ✔✔Sum of numbers 45 & 89 is 134
In a program the literal value 67 is by default considered as
__________ value. - CORRECT ANSWERS ✔✔int
An identifier can start with _______________. - CORRECT
ANSWERS ✔✔A letter, a dollar sign, or an underscore
Which of the following are value type data types?
A) int
B) bool
C) String