1st Year quiz

1st Year quiz

University

20 Qs

quiz-placeholder

Similar activities

C-Py QUIZ | ROUND 1

C-Py QUIZ | ROUND 1

University

20 Qs

Python

Python

University

16 Qs

C++ misc-1

C++ misc-1

University

15 Qs

Coding club Summit Online Quiz

Coding club Summit Online Quiz

University

15 Qs

C Quest 2.0

C Quest 2.0

University

20 Qs

Loops-2

Loops-2

University

15 Qs

Soal Java

Soal Java

11th Grade - University

15 Qs

OCS752_CP_WEEKLY_TEST3 (20.08.2020)

OCS752_CP_WEEKLY_TEST3 (20.08.2020)

University

20 Qs

1st Year quiz

1st Year quiz

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

academicclub academicclub

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which one among the following is NOT a valid variable name in PYTHON?

my-var

MYvar

my_var

_myvar

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which css property you will use if you want to add some margin between a DIV's border and its inner text ?

spacing

margin

padding

inner-margin

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct file extension for Python files?

.pyth

.pyt

.py

.pt

.python

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The default value of "position" attribute is _________.

fixed

absolute

sticky

relative

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the only function all C programs must contain?

start()

system()

main()

Program()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Features of Python

Easy to learn and read

Portable

GUI programming

All of the above

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

#include "stdio.h"

int main()

{

int a = 10;

printf("%d", a);

int a = 20;

printf("%d",a);

return 0;

}

1020

1010

2020

Error: Redeclaration of a

Syntax error

Create a free account and access millions of resources

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?