Coding Club_SNSCE Quiz (28-04-2023)

Quiz
•
Computers
•
University
•
Hard
Kolaa Pravin
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Which of the following is a valid way to create an empty dictionary in Python?
d={}
d=new dict()
d=empty_dict()
d=dict()
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Output of the following code will be:
int main() {
int x = 5;
int y = x++;
printf("%d %d\n", x, y);
return 0; }
5 5
5 6
6 6
6 5
3.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Choose the different types of conditional statements.
If..then..else
If..then..elseif..else
if..then
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Is javascript object based or class based?
object based
class based
5.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
what is the value of j displayed ?
#include <stdio.h>
int i=9;
int j=0;
int main()
{
int i=10;
i++;
j=i;
printf("value of j is %d", j);
return 0;
}
9
10
11
0
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Give the output of the following code:
x = [1, 2, 3]
y = x
y.append(4)
print(x)
[1,2,3]
[1,2,3,4]
[1,2,4]
[1,2,3,[4]]
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which coding elements makes it easy to repeat steps over and over?
strings
variables
modules
loops
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Java Quiz

Quiz
•
University
25 questions
Java Method

Quiz
•
University
25 questions
Quiz 1 Review - CS125

Quiz
•
University
25 questions
Python Module 1

Quiz
•
University
25 questions
BSCE_MIDTERM_EXAM

Quiz
•
University
25 questions
C/C++ Programming Quiz

Quiz
•
University
26 questions
C Language Basics

Quiz
•
University
26 questions
String in C Programming

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade