What type of values can be obtained using get function in c++?
Anonymous Quiz
17%
Only integer numbers
9%
Only characters
13%
string literals
61%
Any type of values
1. The main purpose of using the getline function in C++ is:
To get a line of text from the user?
To get a line of text from the user?
Anonymous Quiz
70%
True
30%
False
2. The getline function is used to obtain a line of text from the user in C++ by:
Using cout and specifying the delimiter
Using cout and specifying the delimiter
Anonymous Quiz
35%
True
65%
False
3. The type of values that can't be obtained using the getline function in C++ is:
Strings
Strings
Anonymous Quiz
45%
True
55%
False
4. If the value of the getline function equals -1 in C++, it means:
No characters were extracted
No characters were extracted
Anonymous Quiz
45%
1
55%
0
🥰1
Conditional operator (?:):
Anonymous Quiz
16%
takes three arguments
22%
ternary
55%
All of the above is true
8%
none
🥰1
what is the output?
void main(){ int x=0; if(++x) cout<<"1"; elae cout<<"0"; }
void main(){ int x=0; if(++x) cout<<"1"; elae cout<<"0"; }
Anonymous Quiz
69%
1
31%
0
👍1
السلام عليكم ورحمة الله وبركاته
حاولت اجمع لكم كم سؤال من المحاضرة الاولى ان شاء الله يفي بالغرض 🤍
حاولت اجمع لكم كم سؤال من المحاضرة الاولى ان شاء الله يفي بالغرض 🤍
👍2👏1
Central processin unit is
Anonymous Quiz
38%
Brain of the computer
1%
Must expensive piece of software
54%
1&2
7%
none
👎2
All programs must be loaded into main memory after it can be executed?
Anonymous Quiz
57%
True
43%
False
When computer power is turned off, every thing in is lost?
Anonymous Quiz
64%
Memory
17%
CPU
6%
secondary storage
13%
none
😢3❤1👎1
Each cell memory contain either .....?
Anonymous Quiz
6%
only programming instruction
39%
programming instruction and data
40%
programming instruction or data
15%
only data
👎4