Cybernaut Analysis

Cybernaut Analysis

University

15 Qs

quiz-placeholder

Similar activities

Data Structure

Data Structure

University

10 Qs

2 Big oh

2 Big oh

University

20 Qs

PDS - 04225 Searching & Algorithm Analysis - Chapter 4

PDS - 04225 Searching & Algorithm Analysis - Chapter 4

University

10 Qs

FGCT4023 Topic 6 - Interactivity

FGCT4023 Topic 6 - Interactivity

University

10 Qs

Evaluación Capítulo 1. Base de Datos y DBMS

Evaluación Capítulo 1. Base de Datos y DBMS

University

15 Qs

[Python For All] Quiz 5 - Numpy

[Python For All] Quiz 5 - Numpy

University

15 Qs

C Programming Array Concepts

C Programming Array Concepts

University

15 Qs

C Program Array and strings

C Program Array and strings

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?