CST 362 Programming in Python #1

CST 362 Programming in Python #1

University

8 Qs

quiz-placeholder

Similar activities

Python Turtle

Python Turtle

KG - Professional Development

11 Qs

ByteWise_round1

ByteWise_round1

University

12 Qs

c-programming-2

c-programming-2

University

13 Qs

Let's C It

Let's C It

11th Grade - University

6 Qs

csi events

csi events

University

10 Qs

Python Compound Data Types and their Method Set-2

Python Compound Data Types and their Method Set-2

11th Grade - University

10 Qs

Q2 programación en python

Q2 programación en python

University

12 Qs

Quiz 2 MEC522 Sem II 2020/2021

Quiz 2 MEC522 Sem II 2020/2021

University

10 Qs

CST 362 Programming in Python #1

CST 362 Programming in Python #1

Assessment

Quiz

Education

University

Easy

Created by

Sarju S

Used 2+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following translates and executes instructions in a programming

language?

A compiler

A loader

A text editor

An interpreter

Answer explanation

compiler is not correct because the compiler translates the code into a low level language and does not run(execute)the code.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following outputs data in a Python program?

The input statement

The print statement

The assignment statement

The main function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the set of rules for forming sentences in a language called?

Semantics

Syntax

Pragmatics

Logic

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python3, Whatever you enter as input, the input() function converts it into a string

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?print(3*4+5)

27

17

12

Syntax Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A syntax error means your code has a 'grammar' mistake or you used symbols/operations incorrectly.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What syntax would you use to create a name variable?

name=input()

input=name

name=input{}

name=INPUT

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the output be from the following code?

print("3+4")

7

3+4

34

SyntaxError