
CHP 2 - BASIC ELEMENTS OF COMPUTER PROGRAMS

Quiz
•
Computers
•
University
•
Easy
Wan Anisha
Used 10+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Below are the symbols used for comments EXCEPT:
//
$
/* ....*/
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of header file #include<iostream>?
Read and write
Comments
Read input and output statement
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the below is CORRECT?
cout<<
cout>>
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the below is NOT the rules of naming identifier?
Can have number in front
Cannot have any symbols except _
Cannot have blanks
May not be a reserved word
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
___ can change its value during execution while ___ is fixed.
Variables, constant
Constant, variables
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the below are not data type for numbers?
int
float
double
char
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the below is INCORRECT for initialization?
int num=5;
double price=RM24.50;
char ans='Y';
string name="ALI";
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
C++ Basics (1)

Quiz
•
University
10 questions
Java Quiz 2 based on loop and if else

Quiz
•
University
7 questions
Unit-I-Python-2024 bat -Syntax,semantics and program translation

Quiz
•
University
9 questions
Test-C++Tablouri unidiensionale-prof. Tudor V

Quiz
•
10th Grade - University
15 questions
CP Quiz: Problem solving

Quiz
•
University
10 questions
Python - Functions

Quiz
•
University
10 questions
Nested Statement

Quiz
•
University
9 questions
C++ Puntatori

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University