
CHP 2 - BASIC ELEMENTS OF COMPUTER PROGRAMS
Authored by Wan Anisha
Computers
University
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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";
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
HT3.2- Validation and Reliability
Quiz
•
8th Grade - University
10 questions
Understanding Email, Contacts and Calendaring
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
CodeMonkey for B.Ed IT
Quiz
•
University
10 questions
Android
Quiz
•
University
10 questions
TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)
Quiz
•
University
15 questions
HTML
Quiz
•
University - Professi...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade