Blind Coding Round 1

Blind Coding Round 1

Professional Development

30 Qs

quiz-placeholder

Similar activities

Quiz on Input output & if Stmts

Quiz on Input output & if Stmts

Professional Development

30 Qs

การโปรแกรมคอม

การโปรแกรมคอม

Professional Development

30 Qs

Quiz on Datatypes_Header file_C Pgm Structure

Quiz on Datatypes_Header file_C Pgm Structure

Professional Development

25 Qs

Pointer (01-06-21)

Pointer (01-06-21)

Professional Development

25 Qs

Quiz - Functions in C

Quiz - Functions in C

Professional Development

30 Qs

Quiz - I

Quiz - I

University - Professional Development

25 Qs

Preprocessor Directives

Preprocessor Directives

Professional Development

25 Qs

WOMANIA PRELIMS

WOMANIA PRELIMS

Professional Development

25 Qs

Blind Coding Round 1

Blind Coding Round 1

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Divakar Bangaru

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?