untitled

untitled

6th - 8th Grade

7 Qs

quiz-placeholder

Similar activities

C Language Basic Quiz

C Language Basic Quiz

7th Grade - Professional Development

10 Qs

AppsLab_Q3

AppsLab_Q3

1st Grade - Professional Development

12 Qs

C# 11

C# 11

1st - 10th Grade

10 Qs

C++

C++

7th - 8th Grade

10 Qs

Лазарус

Лазарус

8th Grade

12 Qs

Урок03. Переменные. Ввод-вывод

Урок03. Переменные. Ввод-вывод

6th - 7th Grade

10 Qs

Recursivitate 2

Recursivitate 2

1st - 12th Grade

9 Qs

Variables in C++

Variables in C++

6th Grade

10 Qs

untitled

untitled

Assessment

Quiz

Science, Computers, Professional Development

6th - 8th Grade

Hard

Created by

Anamika SIngh

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A function can have _____ inside the parenthesis

loops

Arguments/Parameters

Braces

Types

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A function that has no return type starts with:

int

void

Arguments

Braces

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A function that returns a whole number starts with the word

int

void

string

{ }

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Fill in the blank to have this function work properly


_____ function ( ) {


int a;

cin >> a;


cout<<"You chose " << a <<endl;


}

string

void

int

variable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are themselves a collection of different data types?

String

Struct

char

all

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator connects the structure name to its member name?

-

=

.

>>

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the output of this C code?

void main()

{

struct student

{

int no;

char name[20];

};

struct student s;

s.no = 8;

printf("%d", s.no);

}

Nothing

Compile error

8

Junk