Search Header Logo

byte fusion

Authored by Abhilashpoojar Abhilashpoojar

Computers

University

Used 1+ times

byte fusion
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to output "Hello World" in C?

Printf("Hello World"):

printf("Hello

World");

cout << "Hello World";

PrintF('hello world");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in C code?

// This is a comment

/// This is a comment

# This is a comment

*/ This is a comment/*

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to create a array in C?

Int{50}

Int [50];

Int [j]

Int a[12];

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to create a structure?

Str

struct

Structure

Structs

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is ptr in the following code known as? int* ptr = &myAge;

A parameter

A Class

A Pointer

A array

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to stop a loop?

Exit

Stop

Break

Void

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement can be used to select one of many code blocks to be executed?

Switch

When

Break

Default

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?

Discover more resources for Computers