2-D array

2-D array

1st Grade

10 Qs

quiz-placeholder

Similar activities

UAS Logika dan Algoritma Pemrograman

UAS Logika dan Algoritma Pemrograman

1st Grade - University

15 Qs

Struktu Data 1

Struktu Data 1

1st Grade

10 Qs

SQL and databases

SQL and databases

KG - 12th Grade

10 Qs

Branching&Array

Branching&Array

1st - 3rd Grade

8 Qs

Term 2 - Grade 1 ICT - Basic Excel

Term 2 - Grade 1 ICT - Basic Excel

1st Grade

10 Qs

DATA RELATIONAL MODEL (BASIC)

DATA RELATIONAL MODEL (BASIC)

1st Grade

14 Qs

quiz

quiz

1st - 5th Grade

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