Cybernaut Analysis

Cybernaut Analysis

University

15 Qs

quiz-placeholder

Similar activities

FunctionalSept19

FunctionalSept19

University

10 Qs

Unit-2 Test-1

Unit-2 Test-1

University

20 Qs

C Programming Assessment-1

C Programming Assessment-1

University

20 Qs

PHP

PHP

University

10 Qs

Data Structure

Data Structure

University

20 Qs

DS_NumPy_TEST1

DS_NumPy_TEST1

University

12 Qs

HEAP TREE

HEAP TREE

University

11 Qs

Day 1 | Web Alchemy 01

Day 1 | Web Alchemy 01

University

10 Qs

Cybernaut Analysis

Cybernaut Analysis

Assessment

Quiz

Computers

University

Hard

Created by

Mohammed Anas

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of 2 + 3 * 4?
14
20
26
Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a basic data type in most programming languages?
Boolean
Floating-point
Integer
All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of an if statement?
To define a function
To create a loop
To make decisions based on conditions
To print output

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct syntax for a function definition?
functionName() { ... }
function functionName() { ... }
def functionName(): ...
All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of 10 % 3?
3
1
4

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these is a logical operator in most programming languages?
&&
||
and
or

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a for loop?
To repeat a set of statements a fixed number of times
To make decisions based on conditions
To define a function
To print output

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?