Search Header Logo

BPP(20APC0526) BASICS-1

Authored by Sreenivas Reddy

Computers

Professional Development

Variables covered

Used 2+ times

BPP(20APC0526) BASICS-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a variable?

Variables are those which delete programs

A variable is an entity which stores some values

Values stored in a variable can't be changed

A variable is something used to repeat steps

Answer explanation

Variables are entities which store values.

Values stored in a variable can be changed.

Tags

Variables

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a syntax?

Syntaxes are not written in a code to explain inner code workings

The symbols used in computer programming are called syntaxes

The rule following which different computer programs are written.

All are correct

Answer explanation

The rules following which computer programs are written are call syntaxes.

Different programming languages (C, C++, Python etc.) follow different rules hence differ by their syntaxes

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Python uses

Blocks

Braces

Indentation

Parentheses

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Pyhton uses which of the following as translator?

Interpreter

Compiler

Both

Assembler

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In which language is the Python programming created?

C

C++

Pyhton

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

When a string does not fit in single line, one can use the following quotes for multiple line string?

Single Quotes

Double Quotes

Triple Quotes

Quadruple

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

a=True; b=True; c=False

if a or b and c:

print('True')

else:

print('False')

False

True

False or True

No Output

Answer explanation

As per the precedence of operator the precedence of and is higher then or and therefore b and c will be evaluated first and gives False output and a is True and b and c is False so True or False will give True

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?