module3

module3

University

15 Qs

quiz-placeholder

Similar activities

GIS Unit III

GIS Unit III

University

15 Qs

ロジックテスト (Đề kiểm tra năng lực IT)

ロジックテスト (Đề kiểm tra năng lực IT)

University

12 Qs

Quiz3_DivideConquer_GreedyApproach

Quiz3_DivideConquer_GreedyApproach

University

10 Qs

Quiz Harian Gdevelop MPK

Quiz Harian Gdevelop MPK

University

20 Qs

Kuis Pemrograman Dasar

Kuis Pemrograman Dasar

University

20 Qs

Latihan Ujian TKJ - Bagian A1

Latihan Ujian TKJ - Bagian A1

7th Grade - University

10 Qs

CHUONG 4: KT CÁC NVTT

CHUONG 4: KT CÁC NVTT

University

10 Qs

Data Warehouse - Foundations

Data Warehouse - Foundations

University

10 Qs

module3

module3

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

naziyapm 4kmea

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax to declare a one-dimensional array of integers in C?

int array[5];

int array[];

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

int array[5][5];

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you access the third element in a one-dimensional array named numbers?

numbers[2]

numbers[3]

numbers(3)

numbers[1]

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax to initialize a two-dimensional array?

int array[2][3] = {{1, 2, 3}, {4, 5, 6}};

int array[2,3] = {1, 2, 3, 4, 5, 6};

int array[2,3] = {{1, 2, 3}, {4, 5, 6}};

int array[2][3] = {1, 2, 3, 4, 5, 6};

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you declare a two-dimensional array of floats with 4 rows and 5 columns?

float array[4][5];

float array[4][5];

float array[4,5];

float array[5,4];

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the size of the array char str[10] = "Hi";?

2

3

10

11

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What does the following code output?

4

5

6

7

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Arrays are structures that hold multiple variables of the _____________ data type

int data type

char data type

same data type

different data type

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