1. Which language uses the following syntax for a function definition and call?
def greet(name):
print("Hello, " + name + "!")
greet("John")
TRICODE CHALLENGE ROUND 1
Quiz
•
Engineering
•
University
•
Hard
Santhoshkumar M
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
1. Which language uses the following syntax for a function definition and call?
def greet(name):
print("Hello, " + name + "!")
greet("John")
C
PYTHON
JAVA
NONE OF THESE
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Is Python code compiled or interpreted?
a) Python code is both compiled and interpreted
b) Python code is neither compiled nor interpreted
c) Python code is only compiled
d) Python code is only interpreted
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not an OOPS concept in Java?
a) Polymorphism
b) Inheritance
c) Compilation
d) Encapsulation
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Matplotlib.pyplot
Matplotlib.pip
Matplotlib.numpy
Matplotlib.plt
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the value of the following Python expression?
4+3% 5
7
2
4
1
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
<h6>
<h1>
<header>
<head>
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How is a comment inserted in an HTML document?
<!-- comment -->
// comment //
/* comment */
# comment
10 questions
Test de Conocimientos en Programación
Quiz
•
University
20 questions
Tech-fest
Quiz
•
University
10 questions
Internal Lab Quiz-1 CSECS
Quiz
•
University
17 questions
Glosario de Programación de sistemas
Quiz
•
University
20 questions
Quiz Pemrograman Arduino
Quiz
•
11th Grade - University
10 questions
p2rt
Quiz
•
7th Grade - University
10 questions
Introducción al Pseudocódigo
Quiz
•
University
15 questions
ETS Algoritma dan Struktur Data
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade