Unit-2: Assignment 2

Unit-2: Assignment 2

University

15 Qs

quiz-placeholder

Similar activities

Python MCQ

Python MCQ

University

20 Qs

T02: Python - The Basics

T02: Python - The Basics

University

10 Qs

2025 python class first quiz

2025 python class first quiz

9th Grade - University

10 Qs

HCI QUIZ #1 and #2

HCI QUIZ #1 and #2

University

15 Qs

Let's Play Together

Let's Play Together

University - Professional Development

10 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Guess the Retro Computer 1

Guess the Retro Computer 1

KG - Professional Development

13 Qs

CHAPTER 7 part 2

CHAPTER 7 part 2

University

12 Qs

Unit-2: Assignment 2

Unit-2: Assignment 2

Assessment

Quiz

Computers

University

Medium

Created by

Umadevi N

Used 6+ 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

30 sec • 1 pt

What is an Array in C language.?

A group of elements of same data type.

An array contains more than one element

Array elements are stored in memory in continuous or contiguous locations.

All the above.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the Types of Arrays.?

int, long, float, double

struct, enum

char

All the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An array Index starts with.?

-1


B)


C)


D)

0

1

2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of an array element which is not initialized.?

By default Zero 0

1

Depends on Storage Class

None of the above.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following correctly declares an array?

int anarray[10];

int anarray;

anarray{10};

array anarray[10];

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index number of the last element of an array with 29 elements?

29

28

0

Programmer-defined

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a two-dimensional array?

array anarray[20][20];

int anarray[20][20];

int array[20, 20];

char array[20];

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