SDA Class 10

SDA Class 10

10th Grade

10 Qs

quiz-placeholder

Similar activities

8525: Arrays

8525: Arrays

10th Grade

14 Qs

computer science quiz

computer science quiz

KG - Professional Development

10 Qs

CSF U2 Algorithms p1

CSF U2 Algorithms p1

9th - 12th Grade

10 Qs

Arrays, 2D Arrays, and ArrayLists

Arrays, 2D Arrays, and ArrayLists

9th - 12th Grade

15 Qs

Post-Test Berpikir komputasional Pertemuan 1

Post-Test Berpikir komputasional Pertemuan 1

10th Grade

10 Qs

Crash Course Computer Science #14 - Data Structures

Crash Course Computer Science #14 - Data Structures

9th - 12th Grade

15 Qs

C Programming Array Quiz

C Programming Array Quiz

10th Grade

15 Qs

Searching Algorithm

Searching Algorithm

10th - 11th Grade

12 Qs

SDA Class 10

SDA Class 10

Assessment

Quiz

Computers

10th Grade

Easy

Created by

Deepti Ghuge

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The size of an array that signifies the number of elements it can store is given using ........... brackets.

  1. { }

  1. [ ]

  1. ( )

  1. All of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given array int x[] = {11, 22, 33, 44}; the value of x[1] is ........... .

22

11

33

Invalid Value

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given array int x[] = {11, 22, 33, 44}; the value of x[1+2] is ........... .

  1. 11

33

44

22

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If int arr[] = {3, 5, 7, 9}; what is the value of arr.length?

3

5

  1. Cannot be determined

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given array int z[] = {15, 16, 17}; It will occupy ........... bytes in memory.

64

24

  1. 12

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A linear search ...........

  1. can be used with both sorted and unsorted arrays

  1. can be used with sorted arrays only

  1. can be used with unsorted arrays only

  1. cannot be used with arrays

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A binary search________________

  1. cannot be used with arrays

  1. can be used with both sorted and unsorted arrays

  1. can be used with unsorted arrays only

  1. can be used with sorted arrays only

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?