DFC20113 Programming Fundamentals Set B

DFC20113 Programming Fundamentals Set B

University

30 Qs

quiz-placeholder

Similar activities

Angular 4

Angular 4

University

25 Qs

ITElec1_Recitation_1

ITElec1_Recitation_1

University

25 Qs

C++

C++

University

25 Qs

Application Software

Application Software

University

29 Qs

Ethics in Cyberspace

Ethics in Cyberspace

University

25 Qs

Quiz on Operating System Basics

Quiz on Operating System Basics

University

25 Qs

2.7 System Software

2.7 System Software

12th Grade - University

25 Qs

R E V I E W E R

R E V I E W E R

University

25 Qs

DFC20113 Programming Fundamentals Set B

DFC20113 Programming Fundamentals Set B

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

nurwahida janudin

Used 123+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?