Search Header Logo

Data Struct - S1_Array & Pointer

Authored by vio Yesmaya

Information Technology (IT)

University

Used 2+ times

Data Struct - S1_Array & Pointer
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Data elements which have the same data type, is called?

Array

Pointer

Struct

Memory

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which assigns element 0 with the value 250?

arr[1] = 250

arr[250] = 0

arr[0] = 250

arr = 250

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

If the array's last index was 299, how many elements does the array have?

298

299

300

301

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given: int maxScores[4] = {20, 200, 100, 50};. What is maxScores[3]?

20

200

100

50

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Pointer has techniques also known as pass by reference?

True

False

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What does the code output?

A

B

C

No Output

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Class and Struct are the concept in implementing Abstract Data Type?

True

False

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?