NOTE!
Click on MENU to Browse between Subjects...17CS664 - PYTHON APPLICATION PROGRAMMING
Answer Script for Module 1
Solved Previous Year Question Paper
CBCS SCHEME
PYTHON APPLICATION PROGRAMMING
[As per Choice Based Credit System (CBCS) scheme]
(Effective from the academic year 2017 - 2018)
SEMESTER - VI
Subject Code 17CS664
IA Marks 40
Number of Lecture Hours/Week 3
Exam Marks 60
These Questions are being framed for helping the students in the "FINAL Exams" Only
(Remember for Internals the Question Paper is set by your respective teachers).
Questions may be repeated, just to show students how VTU can frame Questions.
- ADMIN
ANSWER :


ANSWER :
I.
Display the first N-lines-of the file.
Refer 6th
Question & Answer or Click Here
II.
Find the frequency of occurrence of the word accepted from the user in
the file. (07 Marks)
Refer 19th
Question & Answer or Click Here
ANSWER :
23.1 Factorial:
Factorial is a non-negative integer. It is the product of all positive integers less than or equal to that number for which you ask for factorial. It is denoted by exclamation sign (!).
For example:
4! = 4x3x2x1 = 24
The factorial value of 4 is 24.
Note: The factorial value of 0 is 1 always. (Rule violation)


ANSWER :
24.1 Armstrong number:
A number is called Armstrong number if it is equal to the sum of the cubes of its own digits.
For example:
153 is an Armstrong number since 153 = 1*1*1 + 5*5*5 + 3*3*3.
The Armstrong number is also known as narcissistic number.


ANSWER :


Below Page NAVIGATION Links are Provided...
All the Questions on Question Bank Is SOLVED