
Computer Science Quiz
Authored by Muhammad Faizan
Other
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?