Code Sprint

Code Sprint

University

25 Qs

quiz-placeholder

Similar activities

Technical Assessment

Technical Assessment

University

20 Qs

Quiz 1 (TDS Algorithm Design and Analysis - DA1A)

Quiz 1 (TDS Algorithm Design and Analysis - DA1A)

University

20 Qs

Python Programming - Test 1

Python Programming - Test 1

University - Professional Development

20 Qs

Laboratory Preparation 2 - Flowcharting and Pseudo Code

Laboratory Preparation 2 - Flowcharting and Pseudo Code

University

21 Qs

C++ Quiz

C++ Quiz

University

20 Qs

Programming in C(1)

Programming in C(1)

University

20 Qs

Data Structures

Data Structures

University

20 Qs

Introduction to CS

Introduction to CS

7th Grade - University

21 Qs

Code Sprint

Code Sprint

Assessment

Quiz

Computers

University

Hard

Created by

codesprint undefined

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following python code?

2
3
4
5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Python code?

6
8
9
11

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following python code. What will be the output?

91
84
70
100

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

1 2 3 4
4 3 2 1
1 3 2 4
4 2 3 1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

An array A consists of n integers in locations A[0], A[1] ....A[n-1]. It is required to shift the elements of the array cyclically to the left by k places, where 1 <= k <= (n-1). An incomplete algorithm for doing this in linear time, without using another array is given below. Complete the algorithm by filling in the blanks. Assume alt the variables are suitably declared (code is in:C++)

i > min; j!= (n+i)mod n; A[j + k]; temp; i + 1 ;
i < min; j!= (n+i)mod n; A[j + k]; temp; i + 1;
i > min; j!= (n+i+k)mod n; A[(j + k)]; temp; i + 1;
i < min; j!= (n+i-k)mod n; A[(j + k)mod n]; temp; i + 1;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following Java program?

1190
1650
1740
1880

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the following HTML, CSS code . Where will the red .box be positioned within the .container?

Centered both vertically and horizontally within the .container
Positioned at the top-left corner of the .container
Positioned at 50% from the top and left, but not centered
Positioned outside of the .container

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?