Thursday, 8 March 2018


Module1: Question Bank

Syllabus: Why should you learn to write programs, Variables, expressions and statements, Conditional execution, Functions?



Part A: Theory

  1. a. Discuss with example and diagrams, Why Should you learn to write Programs?
    b. Define Program. Differentiate between Compiler and Interpreter. Give Examples.
    c. With a neat diagram explain the High level definition of the parts of Hardware Architecture. Explain the role/Job of Programmer.
  2. a. With examples explain the following Six Building blocks of Programs: Input, Output, Sequential Execution, Conditional Execution, Repeated Execution and Reuse.
    b. Explain the following different types of errors: Syntax errors, Semantic errors and Logic Errors. 
  3. Define the following with example :  Values and Types , Variables , Expressions , Keywords ,  Statements , Operators and Operands, Order of Operations , Modulus Operators , String operations and  Comments.
  4. Explain how to read the input from the user with example.
  5. Explain the following with examples
    1. Boolean Expression
    2. Logical Operators
    3. Conditional Execution :  if
    4. Alternative Execution:  if else
    5. Chained Conditionals :  if elif else
    6. Nested Conditionals : if else if else
    7. Catching exception using try and except
    8. Short circuit evaluation of logical circuits
  6. Explain the following with example
    1. Functions
    2. Function Call
    3. Built in Function
    4. Type Conversion Functions
    5. Random Numbers
    6. Math Functions
    7. Adding new Functions
    8. Defining and using the new functions
    9. Flow of execution
    10. Parameter and Arguments
    11. Fruitful and void Functions
    12. Advantages of Functions
Part B: Programs

  1. Write a program that uses input to prompt a user for their name and then welcomes them.
  2. Write a program to prompt the user for hours and rate per hour to compute gross pay.
  3. Write a program to read the following input from user and display
    1. Name : 
    2. USN :
    3. Roll NO:
    4. Mobile No:
    5. E-Mail id :
    6. Percentage of Marks :
  4. To find the simple interest for a given value P,T and R.  The program must take the input from the user.
  5. To read two integers and find the sum , diff , mult and div .
  6. To check whether the number is positive using simple if .
  7. To check whether the given number is even or odd using simple if else.
  8. Write a program to prompt the user for hours and rate per hour to compute gross pay. Also to give the employee 1.5 times the hourly rate for hours worked above 40 hours.

Activation function in Neural network

Back Propagation in Neural Network

Explained In A Minute: Neural Networks

Machine Learning for Flappy Bird using Neural Network & Genetic Algorithm

Neural Networks Explained - Machine Learning Tutorial for Beginners