C-Volution (Easy 1)

C-Volution (Easy 1)

University

30 Qs

quiz-placeholder

Similar activities

Quiz on Lesson 1 CSU3200

Quiz on Lesson 1 CSU3200

University

33 Qs

C++ Programming Quiz

C++ Programming Quiz

University

27 Qs

ITC102 Quiz 1

ITC102 Quiz 1

University

35 Qs

Cloud Computing Test

Cloud Computing Test

University

25 Qs

Quiz sobre Estruturas de Repetição em Programação

Quiz sobre Estruturas de Repetição em Programação

University

25 Qs

HỆ ĐIỀU HÀNH - BÀI 9

HỆ ĐIỀU HÀNH - BÀI 9

University

30 Qs

Advanced C# Features Quiz

Advanced C# Features Quiz

University

30 Qs

ULANGAN BAB ALGORITMA PEMROGRAMAN KELAS 8

ULANGAN BAB ALGORITMA PEMROGRAMAN KELAS 8

8th Grade - University

25 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?