OOP Self-Test Quiz

OOP Self-Test Quiz

University

5 Qs

quiz-placeholder

Similar activities

Mastering String Operations in Python

Mastering String Operations in Python

9th Grade - University

10 Qs

Pre-test Web

Pre-test Web

University

10 Qs

Exploring Python: Input and Output Essentials

Exploring Python: Input and Output Essentials

9th Grade - University

10 Qs

Quiz Sintaks PHP

Quiz Sintaks PHP

University

7 Qs

PSP Week3

PSP Week3

University

10 Qs

Python Basics Day 2

Python Basics Day 2

University

7 Qs

Python Iniciante 1

Python Iniciante 1

University

5 Qs

Node.js

Node.js

KG - Professional Development

8 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