Skip to main content

Posts

HOW TO CREATE A WEBSITE WITHOUT CODDING

🚀 Build Your Own AI Website with Hostinger – No Coding Required! START CREATING YOUR WEBSITE  click here ad Want to create a professional AI-powered website without writing a single line of code? With Hostinger AI Website Builder (Horizon), it's easier than ever. ✅ Describe your website idea in plain English. ✅ Let AI generate the design, pages, and content. ✅ Customize everything with a simple drag-and-drop editor. ✅ Add contact forms, blogs, galleries, and AI-powered features. ✅ Connect your domain and publish your website in just a few clicks. START BUILDING   click here ad Whether you're building: 🔹 A business website 🔹 A portfolio 🔹 A blog 🔹 An e-commerce store 🔹 A QR-based visitor management system 🔹 An AI startup landing page Build Your Own AI Website with Hostinger – No Coding Required! START CREATING YOUR WEBSITE  click here ad Hostinger AI can help you launch faster and save both time and money. 💡 Quick Steps: 1. Sign up for Hostinger. 2. Choose AI Websi...
Recent posts

Answers in detail

 Introduction to Python (10 Questions)Who developed Python? a) Dennis Ritchie b) Guido van Rossum c) James Gosling d) Bjarne Stroustrup Answer: bWhich year was Python created? a) 1989 b) 1991 c) 2000 d) 2010 Answer: bWhat type of language is Python? a) Compiled b) Interpreted c) Assembly d) Machine Answer: bWhich is the correct extension for Python files? a) .py b) .java c) .txt d) .exe Answer: aWhat is the first command used to print in Python? a) print() b) echo() c) console.log() d) output() Answer: aPython is named after: a) A snake b) Monty Python's Flying Circus c) A programmer d) A city Answer: bWhich symbol is used to comment in Python? a) // b) -- c) # d) /* Answer: cWhat does PEP stand for in Python? a) Python Enhancement Proposal b) Python Easy Programming c) Programming Environment Protocol d) Programmer’s Education Path Answer: aWhich IDE is commonly used for Python coding? a) Visual Studio Code b) Eclipse c) PyCharm d) Notepad Answer: cWhat will print("Hello...

If else elif

If, Else, Elif Quiz What keyword starts an if statement in Python? elif else if then What keyword is used to check multiple conditions after an if statement? elif else elseif ifelse Which keyword runs code when all previous conditions are false? else elif if then Is else mandatory after an if statement? Yes No Which is the correct syntax for an if statement in Python? if x > 0 then: if (x > 0): if x > 0: if x > 0 endif What will be printed? if 5 > 3: print("True") else: print("False") True False Error Nothing What is the purpose of elif? To test more than two conditions To end the if statement To start a loop To print output Can there be multiple ...

Fun time

Projects and Fun Activities Quiz Which module helps in drawing shapes? turtle draw graphics paint What is a simple project idea for beginners? Calculator Operating system Database Web browser Which helps create interactive quizzes? input() print() loops all of these What does the turtle.forward() command do? Moves turtle forward Turns turtle right Pauses program Changes color What structure stores quiz questions? List Tuple String Integer What can you use to track scores? Variable List Function Module Turtle graphics is used for: Drawing Networking File handling Calculations What command clears the screen in turtle? turtle.clear() turtle.reset() turtle.er...

Function

Functions Quiz How to define a function? def myfunc(): function myfunc() func myfunc() define myfunc() What keyword exits a function? return exit stop end How do you call a function named greet? call greet() greet() run greet() execute greet() What is the default return value of a function without return? None 0 Error "" Can functions have parameters? Yes No What does this code print? def f(): print("Hi") f() Hi f Error None Which of these is a built-in function? def() print() function() var() How to send info into a function? Arguments Parameters Inputs Both a and b What is the output? def add(a, b): ...

Lists

Lists Quiz What type is [1, 2, 3]? String List Tuple Dictionary How do you access the second item in list a = [5,6,7]? a[1] a(1) a{1} a.second Which method adds an item to a list? add() append() insert() push() What will print(len([1,2,3])) output? 3 2 1 0 What will this return? a = [1,2,3] print(a[0]) 1 2 3 Error Which method removes an item from a list? delete() remove() pop() both b and c Can lists store different data types? Yes No What data structure does a = [] create? Empty list Empty dictionary Empty tuple None What is the index of last element in list a = [2,4,6]? 2 3 -1 a and c are correct ...

Loops

Loops Quiz How many times will this loop run? for i in range(4): print(i) 3 4 5 Error Which keyword starts a while loop? while loop for until What will this print? i = 1 while i <= 3: print(i) i += 1 1 2 3 1 Infinite loop Error Which loop runs at least once? for while do-while if What does break do in a loop? Ends the loop Continues next iteration Restarts the loop Pauses the loop Which loop would you use to iterate over a list? for while until loop What will this output? for i in range(1, 5): if i == 3: break print(i) 1 2 3 1 2 3 Error What is the output? count = 0 while count < 3: count ...