C-Volution (Easy 1)

C-Volution (Easy 1)

University

30 Qs

quiz-placeholder

Similar activities

C-Volution (Easy 4)

C-Volution (Easy 4)

University

30 Qs

Тест2 ТОМИ

Тест2 ТОМИ

University

35 Qs

Loops, enums,arrays,conditional statements, variables

Loops, enums,arrays,conditional statements, variables

University

30 Qs

C-Volution (Easy 2)

C-Volution (Easy 2)

University

30 Qs

соңғы сессия 8 бзв

соңғы сессия 8 бзв

University

30 Qs

Tin học đại cương - Chương 3: Lập trình C

Tin học đại cương - Chương 3: Lập trình C

University

30 Qs

Programming Fundamentals Quiz

Programming Fundamentals Quiz

University

28 Qs

Вопросы по C++

Вопросы по C++

University

35 Qs

C-Volution (Easy 1)

C-Volution (Easy 1)

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Sujal Bhagat

Used 6+ times

FREE Resource

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;

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?