Font size
WorksheetsIntroduction
Total questions: 10
Worksheet time: 6mins
Which of the following are High level languages?
Python
C
C++
Java
Perl
A (a) reads the program and translates it completely before the program starts running. In this context, the high-level program is called the source code, and the translated program is called the object code or the executable.
Which of following language is called as interpreter language .
C
C++
Java
Python
What are the following modes available in Python?
Compilation mode
script mode
safe mode
interactive mode
Programmers make mistakes. For whimsical reasons, programming errors are called bugs and the process of tracking them down is called (a) .
Which of the following are the features of python
Simple and easy to learn
Portable
Scalable
Extendable
GUI Programming
Which of the following is the valid syntax to print "Hello, World!" in python 3.
print('Hello, World!')
Hello, World!
cout>>"Hello, World! "
printf("Hello, World! ");
If we execute following statement in interactive mode, whats is the output?
6**2 + 6
(a)
What is the output of the following code?
print( 8 // 3 )
(a)
What is the output of the following code?
type('2')
<class ''int'>
<class ''float'>
<class ''str'>
<class ''char'>
<class ''obj'>
