Computer S Tahsil - تحصيل الحاسب الٱلي
336 subscribers
405 photos
65 videos
135 files
207 links
Download Telegram
This media is not supported in your browser
VIEW IN TELEGRAM
adding the following to binary numbers 1001 + 101 =
Anonymous Quiz
69%
1110
10%
0111
7%
1010
14%
1101
the petrotype of function that takes two integer values and returns the biggest
Anonymous Quiz
5%
float foo(int a, int b)
76%
int foo(int a, int b)
15%
void foo(int a, int b)
4%
float foo(int a, int b)
Declare a pointer "p" and assign it the address of first byte of the array "Ary"
Anonymous Quiz
52%
int*p = arr ;
21%
int[p] = arr;
10%
int*p = “arr”
17%
None
Change the value of (1^st) element in the array to be 11 instead of 28 using "Arr"
Anonymous Quiz
81%
arr[0] = 11;
8%
arr = 11;
8%
arr[1] = 11;
4%
arr[0] = 01;
One arrays can hold more than on value of different data types
Anonymous Quiz
29%
True
71%
False
Control statements change sequential execution of statements.
Anonymous Quiz
80%
True
20%
False
Subtract the following two binary number (1011)2 - (101)2
Anonymous Quiz
82%
(110)2
5%
(11)2
10%
(011)2
3%
(101)2
What is the task of the following function int Foo(int a) { return a*a*a;}
the answer is
return the cube of the received value.
Anonymous Quiz
84%
True
16%
False
What is the task of the following function float Foo(float a) {return a/2;}
The answer is:
returns half of the received value
Anonymous Quiz
82%
True
18%
False
Design a flowchart of a program that computes the factorial of the input value N
Design a flowchart of a program which checks if the input value N is a prime number or not and print the result ("No is Prime" OR "No is not prime")