🔰اللجنة العلمية CS مستوى اول 🔰 – Telegram
🔰اللجنة العلمية CS مستوى اول 🔰
715 subscribers
458 photos
16 videos
425 files
96 links
💻 من الصفر إلى البطل في عالم البرمجة🔥
هنا نصنع معاً أبطال الكود والخوارزميات كل المحاضرات والمواد الدراسية بين أيديكم لتبدأوا رحلتكم البرمجية بثقة
مستقبلكم يبدأ اليوم لنبنيه معاً
Download Telegram
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
What is the output of the following code?
void myFunction(int &x, int y) {
  x = x + y; } int main() {   int a = 5;   int b = 10; cout << a << endl;   myFunction(a, b);   return 0; }
Anonymous Quiz
58%
5
29%
15
3%
10
11%
Error
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
To use a predefined function in a program, you need to know only the name of the function and how to use it.
Anonymous Quiz
59%
true
41%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
A value-returning function returns only one value.
Anonymous Quiz
71%
true
29%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
Parameters allow you to use different values each time the function is called.
Anonymous Quiz
84%
true
16%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
When a return statement executes in a user-defined function, the function immediately exits.
Anonymous Quiz
73%
true
27%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
A value-returning function returns only integer values.
Anonymous Quiz
30%
true
70%
false
2
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
A function that changes the value of a reference parameter also changes the value of the actual parameter.
Anonymous Quiz
78%
true
22%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
A variable name cannot be passed to a value parameter.
Anonymous Quiz
42%
true
58%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
If a C++ function does not use parameters, parentheses around the empty parameter list are still required.
Anonymous Quiz
67%
true
33%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
In C++, the names of the corresponding formal and actual parameters must be the same.
Anonymous Quiz
44%
true
56%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
Whenever the value of a reference parameter changes, the value of the actual parameter changes.
Anonymous Quiz
79%
true
21%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
In C++, function definitions can be nested; that is, the definition of one function can be enclosed in the body of another function.
Anonymous Quiz
58%
true
42%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
Using global variables in a program is a better programming style than using local variables, because extra variables can be avoided.
Anonymous Quiz
68%
true
32%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
In a program, global constants are as dangerous as global variables.
Anonymous Quiz
59%
true
41%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
true or false:
The memory for a static variable remains allocated between function calls
Anonymous Quiz
75%
true
25%
false
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Which of following is category of simple data type ?
Anonymous Quiz
35%
integral
4%
floating-point
22%
enumeration
39%
all of above
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
default, all the files in c++ are opened in ............mode?
Anonymous Quiz
5%
VTC
82%
Text
4%
Iscll
9%
Binary
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Which of the following correctly declares an array ?
Anonymous Quiz
3%
array{10}
5%
array array[10]
2%
int array
89%
int array[10]
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Which is more effective while calling the c++ functions?
whine call by ...........
Anonymous Quiz
5%
Object
9%
Pointer
78%
Reference
8%
Value
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Which of the following is used to terminate the function prototype in c++?
Anonymous Quiz
82%
;
9%
)
4%
:
5%
All
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
An inline function is expanded during ...........?
Anonymous Quiz
11%
End of the program
34%
Run-time
7%
Never expanded
47%
Compile-time