What does print do in most programming languages like Python?, Sends data to a file, Reads a value from the user, Displays text, Creates a new variable, Which of the following is a valid variable name in Python?, 1stValue, name-1, name_1, full name, What is the value of x after this code runs? x = 5 , x = x + 3, 15, 3, 8, 5, Which operator is used to compare two values, rather than assign one?, =, ==, <, >, What will this code output? for i in range(3): print("Hello"), Prints “Hello” forever, Prints “Hello” three times, Prints “Hello” twice, Prints “Hello” once, What is the main purpose of an if statement in a program?, As Reusable functions, To repeat a task a fixed number of times, To execute code only when certain conditions are met, To display output to the user, What will this code print? x = 10, if x > 5: print("A"); else: print("B");, A, B, Nothing, Crashout, What is the output of this code? x = 2, y = 3, print(x ** y), 5, 6, 8, 9, What is the output of this code? x = 10, y = 5, print( x // y + x % y ), 2, 4, 10, 11, Which statement correctly defines a function that returns the square of a number?, def square(x): print ( x * x ), def square(x): return x * x, def square(): return x * x, square = lambda: x * x
0%
Programming 101
शेयर
शेयर
Sy41
द्वारा
कंटेंट को एडिट करें
सहेजें
पसंद
प्रिंट
एम्बेड
अधिक
कार्य
लीडरबोर्ड
अधिक दिखाएं
कम दिखाएं
यह लीडरबोर्ड अभी निजी है।
शेयर
पर क्लिक करें इसे सार्वजनिक करें।
इस लीडरबोर्ड को रिसोर्स ओनर ने डिसेबल कर दिया है।
यह लीडरबोर्ड डिसेबल है क्योंकि आपके विकल्प रिसोर्स ओनर से अलग हैं।
पूर्वस्थिति विकल्प
क्विज
एक ओपन एंडेड टेम्पलेट है। यह लीडरबोर्ड के लिये स्कोर उत्पन्न नहीं करता है।
लॉग ईन आवश्यक
दृश्य शैली
फ़ॉन्ट
सदस्यता आवश्यक है
विकल्प
इस तरह और भी
BASIC questions!
Withateacher
द्वारा
रैंडम व्हील
52
Quiz: Variables
Janimorton
द्वारा
क्विज
19
BASIC 1 - REVIEW
Julianeezoe1
द्वारा
बॉक्स खोलें
5
Python Quiz - Concepts revisited
Shinuarora28
द्वारा
क्विज
6
Programming Basics Revision
Qwruenshuwa
द्वारा
भूलभुलैया
5
Об'єкти мови програмування Python, 8 клас
Annatselujko
द्वारा
अनाग्राम
42
Python. Цикл For (Класичні задачі)
Bobkovachernenko
द्वारा
मैच अप
14
Повторення Python
U36144624
द्वारा
मिलता-जुलता खोजे
10
टेम्पलेट स्विच करें
सभी दिखाएं
खुले परिणाम
लिंक कॉपी करें
क्यूआर कोड
डिलीट
ऑटो-सेव पुनःस्थापित करें:
?