Arrays in CQuiz

Arrays in CQuiz

1st Grade

10 Qs

quiz-placeholder

Similar activities

Tin 7 Bài 8

Tin 7 Bài 8

7th Grade - University

10 Qs

Recuperação 6º ano

Recuperação 6º ano

6th Grade

10 Qs

Asesmen Diagnostik Membedakan Fakta dan Opini

Asesmen Diagnostik Membedakan Fakta dan Opini

8th Grade

10 Qs

Java_Quiz_Part_2

Java_Quiz_Part_2

University

12 Qs

NoSQL Concepts 2

NoSQL Concepts 2

University

10 Qs

DFC20283 CHAPTER 5 (5.1.6-5.1.9)

DFC20283 CHAPTER 5 (5.1.6-5.1.9)

University

10 Qs

Python_Quiz_1

Python_Quiz_1

University

10 Qs

BAB 4. Topologi Jaringan

BAB 4. Topologi Jaringan

11th Grade

15 Qs

Arrays in CQuiz

Arrays in CQuiz

Assessment

Quiz

Information Technology (IT)

1st Grade

Practice Problem

Medium

Created by

Panha Panha

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the general form of a single-dimension array declaration?

type name[size];

array name[type];

name[size] type;

size[type] name;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the index of the first element in an array?

2

-1

0

1

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many elements can a single-dimension array hold?

Only one

From one to several

Exactly ten

Unlimited

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the total bytes calculation for an integer array of size 5?

15

10

25

20

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the program that prints array A with elements (-1, 33, 26, -5, 9)?

1 2 3 4 5

-1 0 33 26 9

0 1 2 3 4

-1 33 26 -5 9

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax to declare an array of floats with 8 elements?

float a(8);

a[8] float;

float[8] a;

float a[8];

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of the sorting program for the array {4.3, -2.2, 33, 51, -39.5, 2.9, 6.5, 78}?

-39.5 -2.2 2.9 4.3 6.5 33 51 78

4.3 33 51 78 -39.5 -2.2 2.9 6.5

78 51 33 4.3 2.9 -2.2 -39.5

33 51 78 4.3 2.9 -2.2 -39.5 6.5

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?