Search Header Logo

array

Authored by Мадина Аскарова

Computers

1st - 5th Grade

Used 23+ times

array
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какими способами можно заполнить массив?

ввод с клавиатуры

по формуле

случайным образом

все варианты

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Целочисленный массив в Си обозначается:

int array [5];

float array [6];

А: array [1..5] of integer;

double array [6];

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is returned by values[5]?

9
12
6
8

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For the array:
float stats[3];
What is the range of the index?

0 to 3
0 to 2
1 to 3
0 to 4

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of C Program?

int main() {

int a[] = {1,2,3,4};

int b[4] = {5,6,7,8};

printf("%d,%d", a[0], b[0]);

}

1,5

2,6

0,0

Error

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of C Program?

int main() {

int a[3] = {10,12,14};

a[1]=20;

int i=0;

while(i<3)

{ printf("%d ", a[i]);

i++; }

}

20 12 14

10 20 14

10 12 20

Error

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of C program?

int main() {

int a[3] = {10,12,14};

int i=0;

while(i<3)

{ printf("%d ", i[a]);

i++; }

}

14 12 10

10 10 10

10 12 14

None

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?