2-D array

2-D array

1st Grade

10 Qs

quiz-placeholder

Similar activities

MATLAB 2

MATLAB 2

KG - University

10 Qs

PANDAS

PANDAS

1st Grade

11 Qs

Term 2 - Grade 1 ICT - Basic Excel

Term 2 - Grade 1 ICT - Basic Excel

1st Grade

10 Qs

Programming

Programming

1st - 10th Grade

10 Qs

Persertitje e modulit te pare!

Persertitje e modulit te pare!

1st Grade

14 Qs

Introduction to Arrays

Introduction to Arrays

KG - University

10 Qs

Excel Basic

Excel Basic

1st - 4th Grade

10 Qs

Excel Quiz

Excel Quiz

KG - University

15 Qs

2-D array

2-D array

Assessment

Quiz

Computers

1st Grade

Medium

Created by

Dharan 78

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

An array is defined as the collection of _____________ type of data items stored at contiguous memory locations.

Unique

Related

Similar

Different

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The array element can be randomly accessed by using its _________.

Size

Random number

Sequential number

Index number

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

  • Elements of the array are stored at contiguous memory locations where the first element is stored at the _________ memory location.

Smallest

Largest

Equal

Random

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Find the odd one out related to Array concept

Code optimization

Fixed size

Ease of sorting

Random access

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

  1. #include<stdio.h>  

  2. int main(){      

  3. int i=0;    

  4. int marks[5]={20,30,40,50,60};

  5. for(i=0;i<5;i++){      

  6. printf("%d \n",marks[i]);    

  7. }    

  8. return 0;   }

  9. FIND THE OUTPUT

20 60 30 50 40

60 50 40 30 20

30 40 50 60 20

20 30 40 50 60

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The 2D array is organized as _____________

Table

Matrix

List

Stack

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is the correct declaration of 2D array

data_type string_name[rows][columns];

data_type array_name[rolumns][rows];

data_type array_name[rows][columns];

data_type array_name[rows][columns]

Answer explanation

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?