Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
All function template definitions begin with the ...........?
Anonymous Quiz
40%
template keyword
31%
template parameter list
18%
template void type
11%
none of them
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
What will be the output of the following c++ program?
#include <iostream> using namespace std; void fun(int z , int y) { x=30; y=20; } int main() { int x = 20; fun(x,x); cout<<x; return 0; }
#include <iostream> using namespace std; void fun(int z , int y) { x=30; y=20; } int main() { int x = 20; fun(x,x); cout<<x; return 0; }
Anonymous Quiz
6%
10
68%
20
15%
30
11%
Error
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
What will be the output of the following c++ program?
#include <iostream> using namespace std; int main() { for (int i = 4 ; i <= 8 ; i++){ if(i == 7) { continue; } cout<<i; } return 0; }
#include <iostream> using namespace std; int main() { for (int i = 4 ; i <= 8 ; i++){ if(i == 7) { continue; } cout<<i; } return 0; }
Anonymous Quiz
8%
45678
13%
4567
77%
4568
2%
4678
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
ماهي مخرجات الكود التالي :
int x = 5;
int y = 10; cout << (x == y)<< (x != y) << endl;
int x = 5;
int y = 10; cout << (x == y)<< (x != y) << endl;
Anonymous Quiz
14%
5 10
52%
0 1
34%
Error
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
A struct is ................?
Anonymous Quiz
21%
definition
12%
declaration
36%
members
30%
definition and declaration
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
A struct variable can be passed as a parameter by ..............?
Anonymous Quiz
10%
value only
19%
reference only
58%
value or reference
12%
none of them
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
All are correct ,except one sentence.
it is .......?
it is .......?
Anonymous Quiz
17%
struct is a reserved word
22%
memory is allocated for a struct
33%
memory is allocated only when variable are declared
27%
struct is a collection of afixed number of components
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
int arr[7]={5,9,77,55,44};
cout<<"arr[5]="<<arr[5];
cout<<"arr[8]="<<arr[8]; The output is? Note: 17936272 is a random value
cout<<"arr[5]="<<arr[5];
cout<<"arr[8]="<<arr[8]; The output is? Note: 17936272 is a random value
Anonymous Quiz
27%
arr[5]= 17936272 , arr[8]=0
52%
arr[5]=0 , arr[8]= 17936272
14%
0 / 17936272
7%
17936272 / 0
❤1
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
مخرجات الكود التالي :
int num[] = {4, 8, 15, 16, 23, 42};
cout << num[2] << endl;
int num[] = {4, 8, 15, 16, 23, 42};
cout << num[2] << endl;
Anonymous Quiz
14%
8
86%
15
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
ماهو نتيجة الآتي في لغة ++c:
int r, x= 2;
float y= 5; r= y%x; cout<<r;
int r, x= 2;
float y= 5; r= y%x; cout<<r;
Anonymous Quiz
47%
1
10%
0
20%
2
23%
compile error
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
#include <iostream>
using namespace std;
enum fruit{ banana,apple,orange,tomato } int main() {cout<<banana<<apple<<orang <<tomato; return 0;} The output is?
using namespace std;
enum fruit{ banana,apple,orange,tomato } int main() {cout<<banana<<apple<<orang <<tomato; return 0;} The output is?
Anonymous Quiz
10%
1234
72%
0123
18%
Error
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Function signature is
Anonymous Quiz
16%
The portion of a function prototype that include the name of the function
30%
The portion of a function prototype that include the type of function arguments
50%
All of above
4%
None of above
❤1
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Not initializing a constant variable when it's declared is ................?
Anonymous Quiz
27%
compilation error
30%
compile-time
31%
syntax error
12%
none
Forwarded from علم البيانات | DS2 Quizes (𝙴𝚗𝚐. 𝙷𝚊𝚣𝚎𝚖 𝙵. 𝙰𝚕-𝙷𝚞𝚝𝚑𝚊𝚒𝚏𝚒)
Forwarded from علوم الحاسوب | Computer Science
englishexam.html
22 KB
بنك أسئلة اللغة الانجليزية للعام الماضي بطريقة تفاعلية .
قد توجد إجابات خاطئة.
قد توجد إجابات خاطئة.
❤4👍2😁2
Forwarded from كلية الحاسوب جامعة صنعاء |USF
الثلاثاء_10_2_2026.zip
3 MB
🚨هااااااااااااااااااااااااااام🚨
🔻توزيع الاختبارات للطلاب المختبرين يوم الثلاثاء.
🔻على الجميع الالتزام بمقاعدهم واماكنهم المحددة ووقتهم المحدد.
#ملتقى_الطالب_الجامعي_كلية_الحاسوب.
#نحن_في_خدمتكم🌹
🔻توزيع الاختبارات للطلاب المختبرين يوم الثلاثاء.
🔻على الجميع الالتزام بمقاعدهم واماكنهم المحددة ووقتهم المحدد.
#ملتقى_الطالب_الجامعي_كلية_الحاسوب.
#نحن_في_خدمتكم🌹
❤2🤣2