Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
Q 1/15
Score 0
Who invented C
30
Dennis Ritchie
Ken Thompson
Richard Ritchie
Dennis Beckham
Q 2/15
Score 0
<P>Evaluate the equation and assume the variable to be an integer</P><P>y=5*6/2+6-12%3&&7||5</P>
30
<P>15</P>
<P>21</P>
<P>1</P>
<P>12</P>
Q 3/15
Score 0
<P>output of the program will be</P>
30
<P>10 0</P>
<P>10 10</p><p></P>
<P>0 10</P>
<P>10 15</P>
Q 4/15
Score 0
<P>Output is</P>
30
<P>asaio</P>
<P>saio</P>
<P>ahaio</P>
<P> haio</P>
Q 5/15
Score 0
<P>hexadecimal of 110011010110</P>
30
<P>CC6</P>
<P>CD6</P>
<P>DC6</P>
<P>BC6</P>
Q 6/15
Score 0
<P>To print out <I>a</I> and <I>b</I> given below, which of the following <I>printf()</I> statement will you use?</P><P>#include<stdio.h></P><P>int main()</P><P>{float a=3.14;double b=3.14;}</P>
30
<P>printf("%f %Lf", a, b);</P>
<P>printf("%f %lf", a, b);</P>
<P>printf("%Lf %Lf", a, b);</P>
<P>printf("%Lf %f", a, b);</P>
Q 7/15
Score 0
<P>output will be</P>
30
<P>65a</P>
<P>A65</P>
<P>6565</P>
<P>65A</P>
Q 8/15
Score 0
<P>convert into binary 457</P>
30
<P>111001001</P>
<P>111101001</P>
<P>1111110111</P>
<P>111110101</P>
Q 9/15
Score 0
<P>output is</P>
30
<P>A65</P>
<P>64A</P>
<P>6465</P>
<P>65A</P>
Q 10/15
Score 0
<P>1. What is the output of this C code? </p><p>int main() { int i = -5; int k = i %4; printf("%d\n", k); }</P>
30
<P>none</P>
<P>1</P>
<P>Compile time error</P>
<P>-1</P>
Q 11/15
Score 0
<P>What is the value of x in this C code? int main() { int x = 4 *5 / 2 + 9; }</P>
30
<P>19</p><p></P>
<P>1.85</P>
<P>3</P>
<P>6.75</P>
Q 12/15
Score 0
<P>Which of the following is not an arithmetic operation?</P>
30
<P>a %= 40;</P>
<P>a /= 30;</P>
<P>a != 50;</P>
<P>a *= 20;</P>
Q 13/15
Score 0
<P>What is the output of this C code? </p><p>int main() { int a = 20; double b = 15.6; int c; c = a + b; printf("%d", c); }</P>
30
<P>36</P>
<P>35</P>
<P>30</P>
<P>35.6</P>
Q 14/15
Score 0
<P>What is the output of this C code? </p><p> int main() { int x = 2, y = 2; x /= x / y; printf("%d\n", x); return 0; }</P>
30
<P>-2</P>
<P>2</P>
<P>0.5</P>
<P>undefined</P>
Q 15/15
Score 0
<P>Array is ______ datatype in C Programming language.</P><P></P>
30
<P>Custom data type</P>
<P>Primitive data type</P>
<P>None</P>
<P>Derived data type</P>
15 questions
Q.Who invented C
1
30 sec
Q.Evaluate the equation and assume the variable to be an integery=5*6/2+6-12%3&&7||5
2
30 sec
Q.output of the program will be
3
30 sec
Q.Output is
4
30 sec
Q.hexadecimal of 110011010110
5
30 sec
Q.To print out a and b given below, which of the following printf() statement will you use?#include<stdio.h>int main(){float a=3.14;double b=3.14;}
6
30 sec
Q.output will be
7
30 sec
Q.convert into binary 457
8
30 sec
Q.output is
9
30 sec
Q.1. What is the output of this C code? int main() { int i = -5; int k = i %4; printf("%d\n", k); }
10
30 sec
Q.What is the value of x in this C code? int main() { int x = 4 *5 / 2 + 9; }
11
30 sec
Q.Which of the following is not an arithmetic operation?
12
30 sec
Q.What is the output of this C code? int main() { int a = 20; double b = 15.6; int c; c = a + b; printf("%d", c); }
13
30 sec
Q.What is the output of this C code? int main() { int x = 2, y = 2; x /= x / y; printf("%d\n", x); return 0; }
14
30 sec
Q.Array is ______ datatype in C Programming language.