علم البيانات | DS2 Quizes – Telegram
علم البيانات | DS2 Quizes
966 subscribers
96 photos
2 videos
14 files
110 links
"قناة علمية متخصصة في مجال علم البيانات، قناة خاصة بالاختبارات MCQ ."
القناة العامة: @Computer_DS_1
النقاشات: @Computer_DS1
قناة الاختبارات: @Computer_DS_2
بوت التواصل والمشاركات : @DS_Combot
Download Telegram
True or False (√ or ×)
A compiler translates a source program into machine language.
Anonymous Quiz
84%
True (√)
16%
False (×)
1
True or False (√ or ×)
Q) In high-level languages, programs are compiled or interpreted into machine language.
Anonymous Quiz
79%
True(√)
21%
False(×)
True or False (√ or ×)
Q) Programming languages grown from machine language to high-level languages.
Anonymous Quiz
79%
True(√)
21%
False(×)
True or False (√ or ×)
Q) Assembly languages use symbols for instructions.
Anonymous Quiz
78%
True(√)
22%
False(×)
True or False (√ or ×)
Q) The set of predefined words in a programming language is referred to as syntax.
Anonymous Quiz
76%
True(√)
24%
False(×)
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 << " "; }
Anonymous Quiz
56%
A) 1 2 3 5 8
32%
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;
Anonymous Quiz
57%
A) Sum of digits: 6
23%
B) Sum of digits: 5
8%
C) Sum of digits: 4
13%
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;
Anonymous Quiz
80%
A) Reversed Number: 4321
9%
B) Reversed Number: 1234
9%
C) Reversed Number: 3412
3%
D) Reversed Number: 4123
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;
Anonymous Quiz
11%
A) i: 5, j: 5
50%
B) i: 3, j: 3
16%
C) i: 4, j: 2
24%
D) i: 1, j: 5
select the best choice among all :
in the last program in image
8. What will be the output?
Anonymous Quiz
54%
A) 153 is an Armstrong number.
16%
B) 153 is not an Armstrong number.
22%
C) Error
8%
D) 153
🎲 اختبار 'إختبار أساسيات برمجة بإستخدام سي بلس بلس'
إختبار أساسيات برمجة بإستخدام سي بلس بلس. Eng. Hazem F. Al-Huthaifi قناة علوم البيانات : @Computer_DS_1 التعليم لمن اراد والشهادة للجميع
🖊 12 سؤالًا · 45 ث
true or false (√ or ×)
Q) C++ is a low-level programming language.
Anonymous Quiz
37%
True (√)
63%
False (×)
true or false (√ or ×)
Q) A programming language's syntax does not need to follow any predefined rules.
Anonymous Quiz
22%
True (√)
78%
False (×)
true or false (√ or ×)
Q) In the C++ language, a program typically starts with the main function.
Anonymous Quiz
80%
True (√)
20%
False (×)
true or false (√ or ×)
Q) The assembly language uses binary code to replace machine language instructions.
Anonymous Quiz
59%
True (√)
41%
False (×)
true or false (√ or ×)
Q) Translators like assemblers and compilers are necessary to run programs on computers.
Anonymous Quiz
82%
True (√)
18%
False (×)
select the best choice among all :
Q) What does the following code print?
int a = 5; cout << ++a;
Anonymous Quiz
9%
A) 4
13%
B) 5
78%
C) 6
Q) What the output?
int n = 10;
int prev = 0, current = 1, next; cout << "Fibonacci sequence: "<< prev << " " << current << " "; for(int i = 1; i <= n - 2; ++i) { next = prev + current; cout << next << " "; prev = current; current = next;}
Anonymous Quiz
39%
A) Fibonacci sequence: 0 1 1 2 3 5 8 13 21 34
26%
B) Fibonacci sequence: 0 1 1 2 3 5 8 13 21 33
26%
C) Fibonacci sequence: 0 1 2 3 5 8 13 21 34
10%
D) Fibonacci sequence: 0 1 1 3 6 10 15 21 28