Arrays & Strings

Arrays & Strings

University

15 Qs

quiz-placeholder

Similar activities

DataTypes & Operators in C

DataTypes & Operators in C

University

15 Qs

C - Day 3

C - Day 3

University

15 Qs

Quiz on Aptitude_Verbal_Automata

Quiz on Aptitude_Verbal_Automata

University

20 Qs

R Controlled Vowels

R Controlled Vowels

KG - University

10 Qs

Chương 1. Các khái niệm cơ bản về lập trình

Chương 1. Các khái niệm cơ bản về lập trình

University

18 Qs

Mảng động trong C

Mảng động trong C

University

17 Qs

Strings & Arrays

Strings & Arrays

University

12 Qs

Loops and operators java

Loops and operators java

University

13 Qs

Arrays & Strings

Arrays & Strings

Assessment

Quiz

English

University

Medium

Created by

Abdul Rahman

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Array is collection of _____ dataItems

Similar

Differenet

Limited

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Array index always starts with _____.

0

1

-1

2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a[]={1,2,3,4};

printf("%d",a[1]+a[2]);

2

3

4

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

char a[]={'1','2','3','4'};

printf("%d",a[1]+a[2]);

3

23

5

101

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

character array is callled as

big char

string

boolean

void

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a[5];

for(int i=0;i<3;i++){

scanf("%d",&a[i]);

}

printf("%d",a[3]);

it will print the element of 3rd index

it will print the element of 2nd index

it will print some garbage value

it will produce error

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

choose the wrong declaration

int a[5];

int a=[5];

int a={1,2,3};

int a=[1,2,3];

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?

Discover more resources for English