Search Header Logo

Computer Science Quiz

Authored by Ratnalata Gupta

Other

University

Used 2+ times

Computer Science Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of the union operation?

It combines the result of any two different queries

It combines the result of two different queries which have the same set of attributes in the select clause

It combines the result of two different queries which have the same condition in the where clause

It gives the cartesian product of the result of any 2 queries

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select statement has 4 clauses -> where, having, group by, order by the correct order of using these clauses in select statement is

Where, having, group by, order by

Having, where, group by order by

Group by, having, where, order by

Where, group by, having, order by

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Communication offered by TCP is

Full-duplex

Half-duplex

Semi-duplex

Byte by Byte

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following pseudocode? Int x, y, z y=1,x=2 z=x^y Print z

2

1

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does a compiler differ from an interpreter?

A compiler executes code, while an interpreter does not

A compiler debugs code, while an interpreter does not

A compiler translates the entire program at once, while an interpreter translates it line by line

A compiler is used only in C programming, while an interpreter is not

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

SELECT INSTR("CampusMonk", "p") AS MatchPosition;

3

4

-1

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many layers are there in the ISO OSI reference model?

7

5

4

6

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?