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
Create a free account and access millions of resources
Similar Resources on Wayground
33 questions
Coding 4 All 2023 Java Final

Quiz
•
University
31 questions
C++ Basics

Quiz
•
University
25 questions
JAVA WEEK 7-12

Quiz
•
University
25 questions
C Programing

Quiz
•
University
25 questions
Final Exam Revision (Trial)

Quiz
•
University
30 questions
Test IT 12+3 ວິຊາ ໂປແກມມິງ1

Quiz
•
University
31 questions
Java/ Фінальний тест

Quiz
•
9th Grade - Professio...
25 questions
Understanding Input, Selection and Loops in Python

Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University