Search Header Logo

Blind Coding Round 1

Authored by Divakar Bangaru

Computers

Professional Development

Used 1+ times

Blind Coding Round 1
AI

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?