"Error that occur when a program with no syntax errors asks the computer to do something that the computer is unable to do."
Select the CORRECT answer based on the statement above.
DFC20113 Programming Fundamentals Set B
Quiz
•
Computers
•
University
•
Medium
nurwahida janudin
Used 123+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
"Error that occur when a program with no syntax errors asks the computer to do something that the computer is unable to do."
Select the CORRECT answer based on the statement above.
Run-Time Error
Compile Error
Syntax Error
Logic Error
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Select the symbol used at the beginning of a comment.
( )
/ /
< >
" "
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Identify the valid variable.
MY AGE
4_stu
while
area
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
"A location in the memory that stores data that never changes during the execution of the program." Choose the CORRECT answer for the statement.
Constants
Variables
Identifiers
Keywords
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Identify the output from the program below.
int main()
{
int num1=20, num2=30;
int ans = num1+num2;
cout<<ans;
}
40
50
30
20
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
There are FIVE arithmetic operators and every operator have their own precedence of the arithmetic operators.
* , / , % , + , -
+ , / , % , - , *
- , + , % , / , *
+ , % , - , / , *
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the code program below. Fill in the blank with the appropriate answer.
void main()
{
int A=10;
A=A+100;
cout<<"Value of A is :"<< _________;
}
A
Value
<<
A=A=100
30 questions
Computer Programming-2
Quiz
•
University
28 questions
ԹԳՀԳ 10- րդ դաս C++
Quiz
•
10th Grade - University
25 questions
C- Geniusia
Quiz
•
University
25 questions
Java Quiz
Quiz
•
University
25 questions
BSCE_MIDTERM_EXAM
Quiz
•
University
25 questions
GNIDOC ROUND 1
Quiz
•
University
26 questions
String in C Programming
Quiz
•
University
35 questions
Final Exam - BECC0302
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade