Search Header Logo

ELECTROSPARK QUIZ 2023

Authored by Anuradha Joshi

Computers

University

Used 9+ times

ELECTROSPARK QUIZ 2023
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Among the VHDL features, which language statements are executed at the same time in parallel flow?

   a. Concurrent

b. Sequential

c. Net-list

d. Test-bench

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in Python code?

/*This is a comment*/

#This is a comment

//This is a comment

**This is a comment

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is NOT a legal variable name?

my-vit   

Myvit

_myvit

my_vit

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which method can be used to remove any whitespace from both the beginning and the end of a string? (in Python)

len()
strip()
ptrim()
trim()

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which method can be used to return a string in upper case letters? (in Python)

toUpperCase()
upperCase()
upper()
uppercase()

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these collections defines a TUPLE?

["apple", "banana", "cherry"]
{"apple", "banana", "cherry"}
("apple", "banana", "cherry")
{"name": "apple", "color": "green"}

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which collection is ordered, changeable, and allows duplicate members? (in Python)

LIST
DICTIONARY
TUPLE
SET

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?