AKTU ICT Academy Python Programming a practical Approach 1st Week Quiz Solutions



AKTU ICT Academy Python Programming a practical Approach 1st Week Quiz Solutions

Hey guys here are the solutions of AKTU ICT Academy Python quiz solutions for the first week. AKTU released noncredit courses for 2nd-year computer science students of B. Tech. The course code is KNC 301/KNC 302.


These answers are for all those who have confusion in the questions or they don’t want to submit wrong answers. Please attempt the quiz yourself before proceeding for the answers.

Disclaimer :- I don't claim for the 100% accuracy of the answers. I tried my level best to present the correct answers and I'm not responsible if any of the answer is incorrect.


1. What is the first step in write a program?

      1. Run Code

      2. Write Code

      3. Edit Code

      4. Check the Code


Ans: 2. Write Code


2. Logical solution is a ____and clear _____procedure to solve the problem, known as _____.

      1. problem description , step-by-step , flowchart
      2. expression , assignment statement , identifier
      3. finite , step-by-step , Algorithm
      4. finite , assignment statement , algorithm

Ans: 3. finite , step-by-step , Algorithm


3. Python is a/an___________ language (unlike C, C++, Java).
      1. Logical programming
      2. Interpreted programming
      3. Compiled programming
      4. Complex programming

Ans: 2. Interpreted programming


4. What is the extension of a python file?
      1. .pi
      2. .pyt
      3. .py
      4. .ptn

Ans: 3. .py


5. Which Statement is Correct

      1. print(hello world)
      2. print “hello world!”
      3. printf(“hello world!”)
      4. print(“hello world”)

Ans:  4. print(“hello world”)


6. In Python variables can be thought of as ______.

      1. labels
      2. containers
      3. boxes
      4. tumblers'

Ans: 2. containers  

7. Which function is used to get a string in Title Cases (First letter of each word in capital)?

       1. print()
       2. title()
       3. strip()
       4. lstrip()

Ans: 2. title()

8. Which function is used to get rid of the blank spacces on the left?

       1. strip()
       2. left()
       3. rstrip()
       4. lstrip()

Ans: 4. lstrip()

9. A Python Program is a sequence of ___ and ___.

        1. data and information
        2. classes and objects
        3. strings and arrays
        4. definitions and commands

Ans: 1. data and instructions

10. What will be the output of : type(3,5)

       1. class double
       2. class str
       3. class int
       4. class 'float'

Ans: 4. class 'float'

11. What will be the output of : int(2,5)?

       1. 1
       2. 3
       3. 2
       4. 2.5

Ans: 3. 2

12. Any input that you take in Python is of ____ data type.

        1. str
        2. int
        3. float
        4. char

Ans: 1. str

13. What is the output of the following : 4//5

       1. 1
       2. 0.8
       3. 0
       4. 8

Ans: 2. 0.8

14. What will be the value stored in y? :x,y,z = 1,2,3

       1. 1
       2. 2
       3. 3
       4. None of these

Ans: 2. 2

15. Which of the following is a valid identifier or variable?

         1. well&1
         2. well 1
         3. well_1
         4. @well

Ans:3 welll_1


SHARE If you find this useful, please share with your friends and Community.
CODE TOGETHER..GROW TOGETHER.
Newer Posts Newer Posts

More posts

Comments

Post a Comment

Sponsored Content