// Dr. A.P.J. Abdul Kalam Technical University, Uttar Pradesh / 2022
AKTU B.Tech IT — Python Programming (KNC402), Semester 4, 2022
Python Programming · KNC402 · B.Tech Information Technology · Semester 4
Work through the questions
20 questions
No verified answers are available for this paper.
Discuss why Python is called as dynamic and strongly typed language?
No verified answer or solution is available for this question.
How pass statement is different from a comment?
No verified answer or solution is available for this question.
Write a for loop that prints numbers from 0 to 57, using range function.
No verified answer or solution is available for this question.
What is the difference between Python Arrays and Lists?
No verified answer or solution is available for this question.
Write a python function named ComputeAverage to find average of a list of numbers. It should handle the exception if the list is empty and return 0 in that case.
No verified answer or solution is available for this question.
Implement the binary search technique.
No verified answer or solution is available for this question.
Explain the use of break and continue with a suitable example.
No verified answer or solution is available for this question.
What do you mean by operator precedence and associativity. Explain.
No verified answer or solution is available for this question.
- 2024
- 2023
- 2022
Also asked in AKTU B.Tech IT — Automation And Robotics (KOE091), Semester 8, 2024 (2024), AKTU B.Tech IT — Data Warehousing & Data Mining (KOE093), Semester 8, 2024 (2024), AKTU B.Tech — Theory Of Automata And Formal Languages (THEORY), Semester 4, 2023 (2023), AKTU B.Tech IT — Computer Architecture And Organization (KEC051), Semester 5, 2023 (2023), AKTU B.Tech IT — High Voltage Engineering (KEE073), Semester 7, 2023 (2023), AKTU B.Tech IT — Modeling Of Field-Effect Nano Devices (KOE095), Semester 8, 2023 (2023), AKTU B.Tech IT — Natural Language Processing (KOE088), Semester 8, 2023 (2023), AKTU B.Tech IT — Subject Name -Deregulated Power System (KEE078), Semester 7, 2023 (2023), AKTU B.Tech — Chemistry (KAS102), Semester 1, 2022 (2022), AKTU B.Tech IT — Hvdc & Ac Transmission (KEE072), Semester 7, 2022 (2022), AKTU B.Tech IT — Power Transmission & Distribution (REE502), Semester 5, 2022 (2022).
Write short notes on
No verified answer or solution is available for this question.
The programming cycle for python ii. Type conversion in python
No verified answer or solution is available for this question.
Write Python program to swap two numbers without using Intermediate/Temporary variables. Prompt the user for input.
No verified answer or solution is available for this question.
Write a program to check an input number is prime or not.
No verified answer or solution is available for this question.
Write a program that accepts a sentence and calculate the number of digits, uppercase and lowercase letters.
No verified answer or solution is available for this question.
Write a program to check an input year is leap year or not.
No verified answer or solution is available for this question.
There is a file named Input.Txt. Enter some positive numbers into the file named Input.Txt. Read the contents of the file and if it is an odd number write it to ODD.TXT and if the number is even, write it to EVEN.TXT
No verified answer or solution is available for this question.
Discuss Exceptions and Assertions in Python. Explain with a suitable example. Explain any two built-in exceptions.
No verified answer or solution is available for this question.
What is the significance of module in Python? What are the methods of importing a module? Explain with suitable example
No verified answer or solution is available for this question.
What do you mean by recursion? Write a recursive function to compute the factorial of an input number N.
No verified answer or solution is available for this question.
Implement selection sort using Python
No verified answer or solution is available for this question.
What are different types of inheritance supported by Python? Explain.
No verified answer or solution is available for this question.