OOP Self-Test Quiz

OOP Self-Test Quiz

University

5 Qs

quiz-placeholder

Similar activities

Python Round 1

Python Round 1

University

7 Qs

Introduction to Python Quiz

Introduction to Python Quiz

8th Grade - University

10 Qs

PF Unit  10

PF Unit 10

9th Grade - University

10 Qs

Python-1st

Python-1st

University

10 Qs

Python Basics Quiz for KS3

Python Basics Quiz for KS3

11th Grade - University

9 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Python Basics Quiz

Python Basics Quiz

7th Grade - University

10 Qs

แบบทดสอบก่อน-หลังเรียนวิชาการเขียนโปรแกรมคอมพิวเตอร์ขั้นสูง

แบบทดสอบก่อน-หลังเรียนวิชาการเขียนโปรแกรมคอมพิวเตอร์ขั้นสูง

University

10 Qs

OOP Self-Test Quiz

OOP Self-Test Quiz

Assessment

Quiz

Computers

University

Easy

Created by

Felix Huerte

Used 4+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Who developed python?

James Gosling

Patrick Naughton

Guido van Rossum

Mark Zuckerberg

Answer explanation

Python is a general-purpose interpreted, interactive, object-oriented, and high- level programming language. It was created by Guido van Rossum during 1985- 1990.

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A code editor is a tool that is used to write and edit code. Below are samples of IDE, except:

IDLE

Thonny

Repl.it

Macromedia

Answer explanation

An IDE (Integrated Development Environment) understand your code much better than a text editor. It usually provides features such as build automation, code linting, testing and debugging.

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which is correct statement in printing hello world in python.

print("Hello, world!")

System.out.print("Hello, world!");

Console.Write("Hello World")

WriteLN("Hello, world!")

Answer explanation

The print() function is used to print text or other values to the console. In this case, we are passing the string "hello world" to the print() function, which will then print it to the console.

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. What is the correct way to write a variable to store the value of 10?

10

int value=10

a=10

char 10

Answer explanation

The first step is to choose a name for the variable. In this case, we have chosen the name number. The next step is to assign the value of 10 to the variable. This is done using the equal sign (=).

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. What is the answer to print (12/6)?

10

5

2

3