Search Header Logo

C-Volution (Easy 1)

Authored by Sujal Bhagat

Information Technology (IT)

University

Used 6+ times

C-Volution (Easy 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 • 1 pt

Which of the following is the correct extension for a C program file?

.js

.c

.java

.py

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to print "Hello, World!" in C?

print("Hello, World!");

printf("Hello, World!");

cout << "Hello, World!";

System.out.println("Hello, World!");

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid C variable name?

my_var

2nd_variable

_count

name123

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is used to end a statement in C?

.

,

;

:

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to declare a function in C?

def

function

void

func

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to read input from the user in C?

scanf()

input()

get_input()

read()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a constant in C?

constant int x = 10;

int x = const 10;

#define x 10

final int x = 10;

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?