Time Table for Second semester exams. Click Here to View and download

Thursday, January 14, 2016

Introduction To Computing And Problem Solving Previous Question Paper January 2016 (KTU)


Share this Post

FIRST SEMESTER B.TECH DEGREE EXAMINATION, JANUARY 2016

Course Code: BE101-05

Course Name: INTRODUCTION TO COMPUTING AND PROBLEM SOLVING

Max. Marks: 100                                                       Duration: 3 Hours 


https://keralatechnologicaluniversity.blogspot.com

PART A 



Answer all questions, each question carries 4 marks

  1. a) Name any 3 optical input devices.
    b) Name the different I/O ports used in a computer.
    c) Define system software with an example.
  2. Write notes on buses.
  3. Draw the flowchart to find out the greatest of three numbers. 
  4. Differentiate between top down and bottom up problem solving strategies.
  5. Write an algorithm to compute sum of the series  ... .... up to N terms.
  6. a) Which of the following is a valid variable name in Python? (i) 12xyz (ii) break (iii) A_123 (iv) A?B?C
    b) Evaluate the expression x**y**z given x=2,y=3,z=2 .
    c) Predict the output of following code:
    for i in range( 10,-1 ,-2): 
    print i                               
  7. Write a Python program to find the sum of all even terms in a group of n numbers entered by the user.  
  8. Show how you will use the cosine() and log() functions in your program with the help of an example.
  9. What will be the output of this program? Briefly explain the working of this code.
    def check(x,y): 
    if y=0:              
    print ‘error’     
    return               
    else:                  
    return x/y        
    a,b=10,5           
       print check (a,b)
  10. Write a Python program to compute the nth Fibonacci number. Use a recursive function for the implementation.
  11. Let fruit='apples' be a string. What will be the output of the following expressions:
    i) len(sl) (ii) sl[0:4] (iii) sl[6] (iv) sl[-4]
  12. Let Data represent the list [‘circle’,’square’,’triangle’]. Write the expressions for following operations:
    i) Replace the value ‘circle’ with ‘ellipse’
    ii) Add a new value ‘rectangle’ top end of list
    iii) Remove the values ‘square’ and ‘triangle’ from list.
  13. Let farm={'Sheep':5,'Cows':2,'Goats': 10} be a dictionary. Write the statements for following operations.
    i) To add the key value pair (’Ducks':8)
    ii) To display the number of items in the dictionary.
    iii) To remove the key value pair ('Cows':2)
  14. Write the syntax for opening a file in Python. Give one example.
  15. What do you mean by pickling in Python? Explain its significance with the help of an example.
  16. When does an exception occur during program execution? How are exceptions handled in Python? Explain with examples.
 ( 40 Marks)

PART-B 


Answer any four questions each having 8 marks



  1. (a) Draw and explain the instruction execution cycle in a computer.
    (b) Write notes on OMR, MICR, and OCR devices.
  2. Give the algorithm and flowchart for finding the largest and smallest numbers in a given list of N numbers.. 
  3. (a) Differentiate between break and continue statements with proper examples. (3)
    (b) Write a Python program to display all Armstrong numbers in a given range. (5)
  4. (a) Write a Python program to count the number of zeros and negative terms in a given set of n numbers. (4)
    (b) Write a Python program to find the sum of digits of a number using functions (preferably a recursive function). (4)
  5. (a) Why do we need functions? What are the advantages of using a function? (3)
    (b) Write a Python program to simulate a menu driven calculator with addition, subtraction, multiplication, division and exponentiation operations. Use a separate function to implement each operation. (5)
  6. (8 x 4 = 32 Marks)
     

PART-C 


Answer Any 2 Question carries 14 marks

  1. (a) What do you mean by mutability of a data structure? Explain with the help examples, why we say that lists are mutable while tuples are immutable.
    (b) Write a Python program to count number of vowels, consonants, words and question marks in a given string.
    (c) Write a Python program to input a list of n numbers. Calculate and display the average of numbers. Also display the cube of each value in the list.
  2. (a) Write a Python program to create a dictionary of roll numbers and names of 5 students. Display the contents of dictionary in alphabetical order of names.(3)
    (b) Write a Python program to create a text file and to input a line of text to it. Display the line of text with all punctuation marks removed. (7)
  3. (a) Define the terms class, attribute, method and instance with the help of an example. (4)
    (b) Create a class Car with attributes Model, year and price and a method cost() for displaying price. Create two instances of the class and call the method for each instance. (5)
    (c) Write a Python program to create a file containing 10 numbers. Read the contents of the file and display the square of each number. (5)
Don't Forget to mail any type of study material to eduktu@gmail.com.
Share this Post

3 comments:

  1. Your design of the blog is really eye-catching. More over the content is also very productive. Information you have provided is really very beneficial.

    Top MBA executive programs in Chandigarh
    B Tech in Chandigarh

    ReplyDelete
  2. Hai students,use below link to get the video lectures of introduction to computing solved question paper with explanations.I am sure it will be very useful for supplementary or the improvement students.study well .score good.wish you all the best:-)
    https://www.youtube.com/watch?v=_iFWwcwipDg&list=PLP00Zp9pF_u2blMqWishXCPcqBzZeMi_i

    ReplyDelete
  3. If you need your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (no matter why you broke up) you gotta watch this video
    right away...

    (VIDEO) Get your ex back with TEXT messages?

    ReplyDelete

Kerala technological university blog always love to hear your opinions.So please give your feedback via commenting :-)

Labels

about be100 engineering mechanics be101-01 introduction to civil engineering be101-02 introduction to mechanical engineering sciences be101-03 introduction to electrical engineering be101-04 introduction to electronics engineering be101-05 introduction to computing and problem solving be101-06 introduction to chemical engineering be102 design and engineering be103 introduction to sustainable engineering be110 engineering graphics ce100 basics of civil engineering ce110 civil engineering workshop cgpa calculator ch110 chemical engineering workshop cs lecture notes cs110 computer science workshop cy100 chemistry cy110 engineering chemistry lab e-book e-books for s1 and s2 ebook ebooks for bce ebooks for intro to chemical engineering ebooks for intro to computing and problem solving ebooks for introduction to mechanical engineering sciences ebooks for sustainable engineering ec100 basics of electronics engineering ec110 electronics engineering workshop ee100 basics of electrical engineering ee110 electrical engineering workshop engineering chemistry e-books engineering design e-books engineering graphics e-books engineering mathematics e-books engineering mechanics e-books engineering physics e-books exam fees handbook info introduction to civil engineering e-books ktu academics lab manuals lecture notes ma101 calculus ma102 differential equations mba me100 basics of mechanical engineering me110 mechanical engineering workshop model question paper nss objective ph100 physics ph110 engineering physics lab previous question papers python tutorials Question Paper Pattern qustion papers research s1 s2 lecture notes s1s2 slides sample question papers sample qustion papers for s1s2 slides syllabus all in one syllabus for first year(s1 and s2) virtual lab

About

Kerala Technological university is established by Government of Kerala,India.There are about 157 Engineering colleges affiliated to the university.The university is some what more known under the name Kerala Technical University KTU.This blog has no relation with ktu. It's completely unofficial.

Location:

CET Campus, Thiruvananthapuram,Kerala -695016,India,Phone: +91 471 2598122, 2598422,Fax: +91 471 2598522

Emails

General Email: university@ktu.edu.in
Academic matters: academics@ktu.edu.in
Suggestions: letters@ktu.edu.in
Affiliation: affiliation@ktu.edu.in
Technical Support: support@ktu.edu.in