Search Header Logo

Coding Marathon Round 1

Authored by Coding Marathon

Computers

Professional Development

Used 1+ times

Coding Marathon 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

20 sec • 1 pt

Java was developed by

James gosling

John gosling

James frank

John frank

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the 16-bit compiler allowable range for integer constants?

-3.4e38 to 3.4e38

-32767 to 32768

-32668 to 32667

-32768 to 32767

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will happen when the following code is executed?

void main()

{

printf("MIET");

main();

}

Wrong statement

It will keep on printing MIET

It will print MIET once

None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Directives are translated by the

Pre-processor

Compiler

Linker

Editor

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the result of num1 variable after execution of the following statements?

int j = 1, num1 = 4;

while (++j <= 10)

{

num1++;

}

11

12

13

14

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Give the following declarations and an assignment statement. Which one is equivalent to the expression str [4]?

char str[80];

char * p;

p = str;

p + 4

*p + 4

*(p + 4)

p[3]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these would work as a piece of code?

IF answer == "Yes":
if answer == "Yes"
if answer == "Yes":
if answer = "yes":

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?