C-Volution (Easy 1)

C-Volution (Easy 1)

University

30 Qs

quiz-placeholder

Similar activities

Câu hỏi về giải thuật đệ quy

Câu hỏi về giải thuật đệ quy

University

30 Qs

QUIZ

QUIZ

University

30 Qs

Introdução a Programação Estruturada em C

Introdução a Programação Estruturada em C

University

26 Qs

Y9 Python Review

Y9 Python Review

9th Grade - University

30 Qs

Python Básico

Python Básico

University

30 Qs

Java Quiz in tamil theme by jamal

Java Quiz in tamil theme by jamal

University

25 Qs

SAS Dasar Program Keahlian RPL Kelas X

SAS Dasar Program Keahlian RPL Kelas X

10th Grade - University

25 Qs

Quiz on Arrays and Structs

Quiz on Arrays and Structs

University

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