Smart Content Search

Find the exact content you need

Search across courses, articles, programs, MCQs, and descriptive questions from your knowledge platform in one clean workspace.

353

Results Found

17

Current Page

18

Total Pages

Showing 353 result(s) for your search.

php
Mcq Result 321

Which of the following allows looping over a collection in Python?

Programming Language Iterative construct For Loop in Programming Language
In Python, the for loop syntax uses the in keyword to iterate over an iterable such as a list, tuple, or range. The range(5) generates a sequence of numbers from 0 to 4, and the loop iterates through each number in that sequence. Option A and C are syntax used...
View Details
/question/mcq/23077
Mcq Result 328

Which of the following PHP statements will output Hello World on the screen? (i) echo (“Hello World”); (ii) print (“Hello World”); (iii) printf (“Hello World”); (iv) sprintf (“Hello World”);

Programming Language PHP MCQ PHP Basic MCQ
echo(), print() and printf() all three can be used to output a statement onto the screen. The sprintf() statement is functionally identical to printf() except that the output is assigned to a string rather than rendered to the browser.
View Details
/question/mcq/2358