Computer Science Quiz

Computer Science Quiz

University

15 Qs

quiz-placeholder

Similar activities

Quizz Internet

Quizz Internet

KG - Professional Development

12 Qs

VR and AR in multimedia applications

VR and AR in multimedia applications

University

10 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

University - Professional Development

20 Qs

Adobe Photoshop

Adobe Photoshop

University

10 Qs

UX Design

UX Design

University

10 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

Computer Science Quiz

Computer Science Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Assistant Professor Jayakumar Paul Bosco

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array in programming?

C. A data structure that can only store integers

D. A type of loop in programming

B. A fixed-size sequenced collection of elements of the same data type

A. A variable that can store multiple data types

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can arrays be initialized?

D. Arrays cannot be initialized

B. Only at run time

A. Only at compile time

C. Both at compile time and run time

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between character arrays and strings?

B. Character arrays are stored in the String Constant Pool

A. Character arrays are immutable, strings are mutable

D. Character arrays have built-in methods to perform operations

C. Strings can be converted to character arrays using toCharArray() method

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for defining a function with arguments and return value?

D. int function()

C. void function()

B. int function(int x)

A. void function(int x)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the checkPrimeNumber function in the C program?

D. To convert a string to a character array

C. To calculate the Fibonacci series

B. To check if a number is prime

A. To swap two integers

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between Call by Value and Call by Reference?

C. Call by Value allows altering the values of actual variables

B. Call by Reference copies the values of variables

A. Call by Value uses pointer variables

D. Call by Reference is preferred for passing small values

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is recursion in programming?

A. The process of repeating items in a self-similar way

B. The process of swapping variables

C. The process of converting strings to arrays

D. The process of defining multiple functions

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?