Forwarded from علم البيانات مستوى ثاني | جامعة صنعاء (Eng. Hazem Al-Huthaifi)
السلام عليكم ورحمة الله وبركاته
اسعد الله مساءكم بكل خير
بعد جهود حثيثة من الدكتورة إختيار، ومن المناديب، تم الاتفاق مع العميد بإعادة إختبار الرياضيات.
وسيكون الاختبار بعد آخر اختبار
بالتوفيق للجميع؛؛
وإن شاء الله يصلحوا النظام في بقية الاختبارات.
طبعاً إذا جئت درجة اقل من درجتي الاوله، عترجعوا تفرقوا لي درجات.
لانني مقتنع بدرجتي (52)
اسعد الله مساءكم بكل خير
بعد جهود حثيثة من الدكتورة إختيار، ومن المناديب، تم الاتفاق مع العميد بإعادة إختبار الرياضيات.
وسيكون الاختبار بعد آخر اختبار
بالتوفيق للجميع؛؛
وإن شاء الله يصلحوا النظام في بقية الاختبارات.
طبعاً إذا جئت درجة اقل من درجتي الاوله، عترجعوا تفرقوا لي درجات.
لانني مقتنع بدرجتي (52)
True or False (√ or ×)
A compiler translates a source program into machine language.
A compiler translates a source program into machine language.
Anonymous Quiz
89%
True (√)
11%
False (×)
True or False (√ or ×)
Q) In high-level languages, programs are compiled or interpreted into machine language.
Q) In high-level languages, programs are compiled or interpreted into machine language.
Anonymous Quiz
85%
True(√)
15%
False(×)
True or False (√ or ×)
Q) Programming languages grown from machine language to high-level languages.
Q) Programming languages grown from machine language to high-level languages.
Anonymous Quiz
77%
True(√)
23%
False(×)
True or False (√ or ×)
Q) Assembly languages use symbols for instructions.
Q) Assembly languages use symbols for instructions.
Anonymous Quiz
86%
True(√)
14%
False(×)
True or False (√ or ×)
Q) The set of predefined words in a programming language is referred to as syntax.
Q) The set of predefined words in a programming language is referred to as syntax.
Anonymous Quiz
75%
True(√)
25%
False(×)
select the best choice among all :
Q) What is the purpose of the break statement in a loop?
Q) What is the purpose of the break statement in a loop?
Anonymous Quiz
14%
A) Skips the current iteration.
58%
B) Exits the loop immediately.
19%
C) Skips the rest of the loop body.
9%
D) Continues the next iteration.
select the best choice among all :
Q) What does the using namespace std; line do in C++?
Q) What does the using namespace std; line do in C++?
Anonymous Quiz
11%
A) It imports all libraries
75%
B) It allows using standard library names without the std:: prefix
5%
C) It defines a new namespace
9%
D) It imports all variables from the namespace
select the best choice among all :
Q. What will be the output?
int x = 0, y = 1, sum = 0, n = 5; for (int i = 0; i < n; i++) { sum = x + y; x = y; y = sum; cout << sum << " "; }
Q. What will be the output?
int x = 0, y = 1, sum = 0, n = 5; for (int i = 0; i < n; i++) { sum = x + y; x = y; y = sum; cout << sum << " "; }
Anonymous Quiz
58%
A) 1 2 3 5 8
29%
B) 1 1 2 3 5
6%
C) 2 3 5 8 13
6%
D) 1 3 5 8 13
select the best choice among all :
Q. What will be the output?
int num = 123; int sum = 0; while (num > 0) { sum += num % 10; num /= 10; } cout << "Sum of digits: " << sum << endl;
Q. What will be the output?
int num = 123; int sum = 0; while (num > 0) { sum += num % 10; num /= 10; } cout << "Sum of digits: " << sum << endl;
Anonymous Quiz
46%
A) Sum of digits: 6
15%
B) Sum of digits: 5
8%
C) Sum of digits: 4
31%
D) Sum of digits: 3
select the best choice among all :
Q) What will be the output?
int num = 1234; int rev = 0; while (num != 0) { int remainder = num % 10; rev = rev * 10 + remainder; num /= 10; } cout << "Reversed Number: " << rev << endl;
Q) What will be the output?
int num = 1234; int rev = 0; while (num != 0) { int remainder = num % 10; rev = rev * 10 + remainder; num /= 10; } cout << "Reversed Number: " << rev << endl;
Anonymous Quiz
64%
A) Reversed Number: 4321
24%
B) Reversed Number: 1234
6%
C) Reversed Number: 3412
6%
D) Reversed Number: 4123
👍1
select the best choice among all :
Q) What will be the output?
int i = 1, j = 5; while (i < j) { i++; j--; } cout << "i: " << i << ", j: " << j << endl;
Q) What will be the output?
int i = 1, j = 5; while (i < j) { i++; j--; } cout << "i: " << i << ", j: " << j << endl;
Anonymous Quiz
13%
A) i: 5, j: 5
46%
B) i: 3, j: 3
19%
C) i: 4, j: 2
22%
D) i: 1, j: 5
select the best choice among all :
in the last program in image
8. What will be the output?
in the last program in image
8. What will be the output?
Anonymous Quiz
45%
A) 153 is an Armstrong number.
32%
B) 153 is not an Armstrong number.
20%
C) Error
3%
D) 153
🎲 اختبار 'إختبار أساسيات برمجة بإستخدام سي بلس بلس'
إختبار أساسيات برمجة بإستخدام سي بلس بلس. Eng. Hazem F. Al-Huthaifi قناة علوم البيانات : @Computer_DS_1 التعليم لمن اراد والشهادة للجميع
🖊 12 سؤالًا · ⏱ 45 ث
إختبار أساسيات برمجة بإستخدام سي بلس بلس. Eng. Hazem F. Al-Huthaifi قناة علوم البيانات : @Computer_DS_1 التعليم لمن اراد والشهادة للجميع
🖊 12 سؤالًا · ⏱ 45 ث
true or false (√ or ×)
Q) C++ is a low-level programming language.
Q) C++ is a low-level programming language.
Anonymous Quiz
24%
True (√)
76%
False (×)
❤1
true or false (√ or ×)
Q) A programming language's syntax does not need to follow any predefined rules.
Q) A programming language's syntax does not need to follow any predefined rules.
Anonymous Quiz
19%
True (√)
81%
False (×)
true or false (√ or ×)
Q) In the C++ language, a program typically starts with the main function.
Q) In the C++ language, a program typically starts with the main function.
Anonymous Quiz
79%
True (√)
21%
False (×)
🔥1
true or false (√ or ×)
Q) The assembly language uses binary code to replace machine language instructions.
Q) The assembly language uses binary code to replace machine language instructions.
Anonymous Quiz
57%
True (√)
43%
False (×)
true or false (√ or ×)
Q) Translators like assemblers and compilers are necessary to run programs on computers.
Q) Translators like assemblers and compilers are necessary to run programs on computers.
Anonymous Quiz
89%
True (√)
11%
False (×)
select the best choice among all :
Q) What does the following code print?
int a = 5; cout << ++a;
Q) What does the following code print?
int a = 5; cout << ++a;
Anonymous Quiz
5%
A) 4
18%
B) 5
77%
C) 6