
Blind Coding Round 1
Authored by Divakar Bangaru
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
C programming : Match the following:
a. calloc( ) ------- i. Frees previouslyallocated space.
b. free( ) ----------- ii. Modifiespreviouslyallocated space.
c. malloc( ) ------- iii. Allocates spacefor array.
d. realloc( ) ------- iv. Allocatesrequested size ofspace.
a-iii, b-i, c –iv, d -ii
a-iii, b-ii, c –i, d -iv
a-iii, b-iv, c –i, d -ii
a-iv, b-ii, c –iii, d -i
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C programming:The given expression P– = Q+1 is same as
P = P – Q – 1
P = P – Q + 1
P = –P + Q + 1
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trace the output.
int main()
{
char *str="careerride";
printf("%d",printf("%s",str));
return 0;
}
10careerride
careerride
careerride10
Compile time error.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trace the output.
void main()
{
int x=-5,y,num=5;
y=x%-4;
y=(y?0:num*num);
printf("%d",y);
}
25
0
-25
None of the above.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C programming : Trace the output
While(“%d” , printf(“abc”))
{
Printf(“de”);
}
abdededede…………………
Compile error.
abcdeabcdeabcde……………
None of the above.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following allows the programmer to destroy an object x? (Java)
x.delete()
x.finalize()
Runtime.getRuntime().gc()
Only the garbage collection system can destroy an object.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java Virtual Machine is platform independent?
True
False
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?