Search Header Logo

Computer Science Quiz

Authored by Muhammad Faizan

Other

University

Used 4+ times

Computer Science Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

41 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a compiled language?

C++

Python

JavaScript

PHP

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In C++, what is the output of: int x=1; ++x; cout<<"Result is:", x * 5 + 2;

12

7

Result is: 12

Result is: x

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT a valid variable name in C++?

_var

Var123

123Var

var_name

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the primary key used for in a database?

Uniquely identifying a record

Storing multiple values

Creating a foreign key

Sorting data

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which SQL clause is used to filter records?

WHERE

HAVING

GROUP BY

ORDER BY

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT an operating system?

Windows

iOS

Oracle

Android

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the main function of an operating system?

Manage hardware and software resources

Compile programs

Run user applications

Connect to the internet

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

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

Already have an account?