NJIT CS100 - Test

NJIT CS100 - Test

12th Grade

30 Qs

quiz-placeholder

Similar activities

Introduction to Python

Introduction to Python

KG - University

25 Qs

ITFun Objective 4- Software Development P1

ITFun Objective 4- Software Development P1

11th - 12th Grade

33 Qs

Python Y10

Python Y10

4th - 12th Grade

29 Qs

Python Lists

Python Lists

9th - 12th Grade

27 Qs

Tuples & List Quiz

Tuples & List Quiz

12th Grade

28 Qs

lists in python

lists in python

11th - 12th Grade

28 Qs

Assessment Term 2.2 - Y9 U4 Python Search algorithms

Assessment Term 2.2 - Y9 U4 Python Search algorithms

7th - 12th Grade

30 Qs

Programming Languages

Programming Languages

12th Grade

30 Qs

NJIT CS100 - Test

NJIT CS100 - Test

Assessment

Quiz

Computers

12th Grade

Medium

CCSS
6.EE.B.6

Standards-aligned

Created by

Waheetha Yunus

Used 3+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To create a newline at the end of prompt, you can use which of the following expressions?
\new
\n
\break
\return

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output?
name = 'Dave'
greeting = "Good morning" + name
print (greeting)
Good moning 'Dave'
Good morning Dave
Good morning name
Good morning + Dave

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why is it called 'Python'?
The guy who created it loves snakes
The guy who created it loves Monty Python films
You can create a game on python called snake
It was created by someone called Mr Python

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python is an example of a....
Text-based programming language
Object orientated programming language
language written in java script
Visual-based programming language

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be from the following code?
print("Hello" + str(2) + "world!")
Hello world! Hello world!
Hello2world!
Hello Hello world! world!
SyntaxError

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Code executed based on a condition being true
Sequence
Selection
Iteration
Variable

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the following code do? myAge = int (myAge)

Converts the var (variable) myAge to a string

Converts the var (variable) myAge to a integer

Converts the var (variable) myAge from a integer to a string

Converts the var (variable) myAge to if statement

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?