Unit-2: Assignment 2

Unit-2: Assignment 2

University

15 Qs

quiz-placeholder

Similar activities

Quiz on List and Tuples

Quiz on List and Tuples

University

16 Qs

The AI Shield

The AI Shield

University

15 Qs

Quiz # 1 in Capstone Project and Research 1

Quiz # 1 in Capstone Project and Research 1

University

15 Qs

SMARTICUS

SMARTICUS

University

20 Qs

PROBLEM SOLVING USING R  UNIT I  MCQS

PROBLEM SOLVING USING R UNIT I MCQS

University

15 Qs

Week #7 - Time Machine

Week #7 - Time Machine

8th Grade - University

17 Qs

Internet Technologies

Internet Technologies

University

20 Qs

nestedif _ And _ Or

nestedif _ And _ Or

University

10 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?