select the best choice among all :
Q) What is the size of the following array?
int numbers[5] = {10, 20, 30, 40, 5}
Q) What is the size of the following array?
int numbers[5] = {10, 20, 30, 40, 5}
Anonymous Quiz
40%
A) 5 byte
45%
B) 20 byte
5%
C) 20 bit
10%
D) 5 bit
🎲 اختبار 'إختبار نصفي أساسيات برمجة نظري بإستخدام سي بلس بلس'
إختبار نصفي أساسيات برمجة نظري بإستخدام سي بلس بلس الدكتورة مروة الهادي علم البيانات Exam of Programming fundamentals with C++ Eng. Hazem Al-Huthaifi https://news.1rj.ru/str/Computer_DS_1
🖊 22 سؤالًا · ⏱ 1 د
إختبار نصفي أساسيات برمجة نظري بإستخدام سي بلس بلس الدكتورة مروة الهادي علم البيانات Exam of Programming fundamentals with C++ Eng. Hazem Al-Huthaifi https://news.1rj.ru/str/Computer_DS_1
🖊 22 سؤالًا · ⏱ 1 د
🎲 اختبار 'إختبار أساسيات برمجة بإستخدام سي بلس بلس 1️⃣'
إختبار أساسيات برمجة بإستخدام سي بلس بلس. Eng. Hazem F. Al-Huthaifi قناة علوم البيانات : @Computer_DS_1 التعليم لمن اراد والشهادة للجميع
🖊 12 سؤالًا · ⏱ 45 ث
إختبار أساسيات برمجة بإستخدام سي بلس بلس. Eng. Hazem F. Al-Huthaifi قناة علوم البيانات : @Computer_DS_1 التعليم لمن اراد والشهادة للجميع
🖊 12 سؤالًا · ⏱ 45 ث
🎲 اختبار 'إختبار أساسيات برمجة بإستخدام سي بلس بلس 2️⃣'
إختبار أساسيات برمجة بإستخدام سي بلس بلس. Eng. Hazem F. Al-Huthaifi قناة علوم البيانات : @Computer_DS_1 التعليم لمن اراد والشهادة للجميع
🖊 12 سؤالًا · ⏱ 45 ث
إختبار أساسيات برمجة بإستخدام سي بلس بلس. Eng. Hazem F. Al-Huthaifi قناة علوم البيانات : @Computer_DS_1 التعليم لمن اراد والشهادة للجميع
🖊 12 سؤالًا · ⏱ 45 ث
🎲 اختبار 'إختبار أساسيات برمجة بإستخدام سي بلس بلس 3️⃣'
إختبار أساسيات برمجة بإستخدام سي بلس بلس. Eng. Hazem F. Al-Huthaifi قناة علوم البيانات : @Computer_DS_1 التعليم لمن اراد والشهادة للجميع
🖊 16 سؤالًا · ⏱ 45 ث
إختبار أساسيات برمجة بإستخدام سي بلس بلس. Eng. Hazem F. Al-Huthaifi قناة علوم البيانات : @Computer_DS_1 التعليم لمن اراد والشهادة للجميع
🖊 16 سؤالًا · ⏱ 45 ث
select the best choice among all :
Q) What is the primary difference between a compiler and an interpreter?
Q) What is the primary difference between a compiler and an interpreter?
Anonymous Quiz
78%
A. A compiler translates the entire code at once, while an interpreter translates it line by line.
12%
B. An interpreter translates the entire code at once, while a compiler translates it line by line.
5%
C. Both compile the code at runtime.
5%
D. A compiler creates an executable file, while an interpreter does not.
select the best choice among all :
Q) Which of the following is an example of a runtime error in C++?
Q) Which of the following is an example of a runtime error in C++?
Anonymous Quiz
11%
A. Incorrect variable declaration.
68%
B. Division by zero.
14%
C. Missing semicolon.
8%
D. Incorrect use of a loop.
👍1
select the best choice among all :
Q) In a for loop, where is the condition typically placed?
Q) In a for loop, where is the condition typically placed?
Anonymous Quiz
31%
A. Before the loop body
57%
B. After the initialization
4%
C. At the end of the loop
7%
D. After the increment statement
select the best choice among all :
Q) Which of the following is a common use case for a for loop?
Q) Which of the following is a common use case for a for loop?
Anonymous Quiz
12%
A. Processing user input.
59%
B. Iterating through the elements of an array.
23%
C. Conditional statements.
5%
D. Defining functions.
select the best choice among all :
Q) What type of error occurs when the program executes but produces incorrect results?
Q) What type of error occurs when the program executes but produces incorrect results?
Anonymous Quiz
19%
A. Syntax Error
8%
B. Runtime Error
64%
C. Logical Error
9%
D. Compilation Error
select the best choice among all :
Q) Which of the following loops will execute at least once, even if the condition is false?
Q) Which of the following loops will execute at least once, even if the condition is false?
Anonymous Quiz
6%
A) for-loop
10%
B) while-loop
78%
C) do-while loop
6%
D) infinite loop
select the best choice among all :
Q) What is the output of the following code?
int a = 3; int b = 4; cout << a * b;
Q) What is the output of the following code?
int a = 3; int b = 4; cout << a * b;
Anonymous Quiz
95%
A) 12
4%
B) 7
1%
C) 34
select the best choice among all :
Q) What will be the output of the following
int x = 4; x *= 3; cout << x;
Q) What will be the output of the following
int x = 4; x *= 3; cout << x;
Anonymous Quiz
1%
A) 4
4%
B) 8
93%
C) 12
2%
D) 16
select the best choice among all :
Q) What will be the output of the following
int a = 3; cout << (a != 3);
Q) What will be the output of the following
int a = 3; cout << (a != 3);
Anonymous Quiz
61%
A) 0
8%
B) 1
4%
C) 3
28%
D) Error
Q) What the output?
int num = 29;
bool isPrime = true; for (int i = 2; i <= num / 2; ++i) { if (num % i == 0) { isPrime = false ; break ; }} if (isPrime) cout << num << " is a prime." << endl; else cout << num << " is not a prime." << endl;
int num = 29;
bool isPrime = true; for (int i = 2; i <= num / 2; ++i) { if (num % i == 0) { isPrime = false ; break ; }} if (isPrime) cout << num << " is a prime." << endl; else cout << num << " is not a prime." << endl;
Anonymous Quiz
58%
A) 29 is a prime.
35%
B) 29 is not a prime.
7%
C) 29
select the best choice among all :
Q) What will be the output of the following
int a = 9, b = 4; cout << a / b;
Q) What will be the output of the following
int a = 9, b = 4; cout << a / b;
Anonymous Quiz
62%
A) 2
28%
B) 2.25
6%
C) 4
3%
D) 3
select the best choice among all :
Q) What does the following code print?
int a = 5, b = 10; if (a > b) cout << a; else cout << b;
Q) What does the following code print?
int a = 5, b = 10; if (a > b) cout << a; else cout << b;
Anonymous Quiz
8%
A) 5
80%
B) 10
11%
C) 0
true or false (√ or ×)
Q) High-level languages increase the focus on the problem being solved rather than the computer's hardware
Q) High-level languages increase the focus on the problem being solved rather than the computer's hardware
Anonymous Quiz
85%
True (√)
15%
False (×)
true or false (√ or ×)
Q) The preprocessor directive in C++ starts with #include.
Q) The preprocessor directive in C++ starts with #include.
Anonymous Quiz
84%
True (√)
16%
False (×)
true or false (√ or ×)
Q) Machine languages use mnemonic codes for instructions.
Q) Machine languages use mnemonic codes for instructions.
Anonymous Quiz
48%
True (√)
52%
False (×)
❤1
true or false (√ or ×)
Q) Programming languages help users communicate with the computer.
Q) Programming languages help users communicate with the computer.
Anonymous Quiz
91%
True (√)
9%
False (×)