Group Activity 1

Group Activity 1

University

8 Qs

quiz-placeholder

Similar activities

PRE AND POST METODOLOGI PENELITIAN KONVERSI

PRE AND POST METODOLOGI PENELITIAN KONVERSI

University

11 Qs

What is water

What is water

KG - Professional Development

10 Qs

Mahkamah

Mahkamah

University

10 Qs

Quiz 2 MEC522 Sem II 2020/2021

Quiz 2 MEC522 Sem II 2020/2021

University

10 Qs

Syllogism

Syllogism

University

10 Qs

Quiz Web

Quiz Web

University

13 Qs

Kuis Kuliah Pakar

Kuis Kuliah Pakar

University

10 Qs

Group Activity 1

Group Activity 1

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

Hemanth Kumar

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

  1. 1. Which of the following is a valid variable name?

.ram2

ram.2

ram_2

2ram00

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 2. Which of the following statement is invalid?

m_n_q = 3500

m.n.q = 3500, 3600, 3700

m,n,q = 3500, 3600, 3700

mnq = 350036003700

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 3. Which command would you use to find the data type of a variable

data( )

type( )

typeof( )

str( )

4.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

  1. 4. What will be the output after the following statements are executed?

  2. X=300 

    Y= 17

    X%=Y

    print(X)

11

17.6

300

17

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 5. Consider a following code snippet. What is a data type of y?

x=15

y=str(float(x))

int

float

str

Code will throw an error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 6. While naming the variable, use of any special character other than underscore(_) will throw which type of error?

Syntax error

Key error

Value error

Index error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 7. Let x = “Mayur”. Which of the following commands converts the ‘x’ to float datatype?

str(float,x)

x.float()

float(x)

Cannot convert a string to float data type

8.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

  1. 7. x=10

    y= 5

    z=3

    print(x+y%z)

  2. Predict the output of the above code.

12.0

12

11.667

11