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

EXAMEN 1

EXAMEN 1

University

20 Qs

SUPWEB

SUPWEB

University

20 Qs

Coding club Summit Online Quiz

Coding club Summit Online Quiz

University

15 Qs

OPC MCQ's

OPC MCQ's

12th Grade - University

20 Qs

Java Array

Java Array

University

23 Qs

CSS Quiz

CSS Quiz

University

25 Qs

Functions

Functions

University

20 Qs

1st Year quiz

1st Year quiz

Assessment

Quiz

Computers

University

Hard

Created by

academicclub academicclub

Used 4+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?