Search Header Logo

TECHNOSAV'24 -Codetronics Level 1

Authored by Rashmi Joshi

others

Used 2+ times

TECHNOSAV'24 -Codetronics Level 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

30 sec • 2 pts

Media Image

1
2
1 and 3
3

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the result of logical or relational expression in C?

True or False
0 or 1
0 if an expression is false and any positive number if an expression is true
None of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the sizeof(char) in a 32-bit C compiler?

1 bit
2 bits
1 Byte
2 Bytes

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which keyword is used to indicate that a function does not return a value in C?

null
void
none3
empty

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

In a nested loop, if a 'break' statement is executed in the inner loop, what happens?

The entire nested loop is exited
Only the inner loop is exited
The outer loop is paused
The program is terminated

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What are global variables in C?

Variables declared within a function
Variables that can be accessed by any function in the program
Constants
Variables that store functions

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the correct syntax for an if-else statement in C?

if (condition) { /* code */ } else { /* code */ }
if condition { /* code */ } else { /* code */ }
if (condition) then { /* code */ } else { /* code */ }
if condition then { /* code */ } else { /* code */ }

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?