
DFC20113 PF Week 3 (Chapter 2.1-2.3)
Authored by NUR (PBU)
Computers
1st Grade
Used 3+ 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
Choose CORRECT syntax for variable declaration
int Nombor1
int Nombor1 = 4;
int Nombor1 = '4';
int Nombor 1 = "4";
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Choose CORRECT variable declaration
string name = Mary;
string name = 'Mary';
string name = "Mary"
string name = "Mary";
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Choose CORRECT variable declaration
char name = "Ali";
char name = 'A';
char name [4] = 'Ali';
char name = Ali;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose CORRECT multiple declaration based on below
C++ CODING
String Name1;
String Name2;
String Name3;
String Name1,2,3
String Name1, Name2, Name3;
String Name1; Name2; Name3;
String Name1, Name2, Name3,
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is reserved word?
name
age
nombor
int
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This variable declared inside a function
global variable
local variable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is CORRECT operator for Stream Insertion?
<<
>>
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 Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?