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
11 questions
Conceptos de Orientación a Objetos en Python
Quiz
•
University
15 questions
ETS Pemrograman Berorientasi Obyek
Quiz
•
University
10 questions
Test de Conocimientos en Programación
Quiz
•
University
20 questions
Logo Thon Quiz Competition
Quiz
•
University
10 questions
202405 BGMC4543 Quiz 2
Quiz
•
University
15 questions
Quiz Master's 2.0
Quiz
•
University
20 questions
Natural Language Processing CT-1
Quiz
•
University
17 questions
Glosario de Programación de sistemas
Quiz
•
University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade