Professional Documents
Culture Documents
Unit 2 - Week 1
Unit 2 - Week 1
Unit 2 - Week 1
Course
outline Week 1 Assignment
The due date for submitting this assignment has passed. Due on 2018-02-05, 23:59 IST.
How to access
the portal Submitted assignment
Week 1 The week 1 assignments contains 15 number of questions. Each question carries 1 mark.
1) Some problems may be solved through programming are : i) Search Problem, ii) Path finding 1 point
Lecture 1 :
Introduction Problem.
Lecture 5 : 2) Instructing the computer to do the steps to be followed to solve a problem is called. 1 point
Variables and
Memory Programming
Processing
Feedback for
Week 1 Reading
Showing
Quiz : Week 1
Assignment
No, the answer is incorrect.
Week 1 Score: 0
Assignment
Accepted Answers:
Solution
Programming
Week 2 3) English like code to express algorithm is called (i) Flow Chart, (ii) Pseudo code. 1 point
5) In finding maximum number of 5 different numbers, how many decision box will be drawn in 1 point
the flow chart
4 numbers
5 numbers
6 numbers
3 numbers
Interpreter
Compiler
Both A and B
None of them
8) Computer memory has one part, which is called RAM. The full form of RAM is 1 point
9) Computer memory has secondary memory. The example of secondary memory 1 point
is
RAM
Disk
Register
ROM
https://onlinecourses.nptel.ac.in/noc18-cs10/unit?unit=6&assessment=43 2/7
13/06/2018 Problem solving through Programming In C - - Unit 2 - Week 1
No, the answer is incorrect.
Score: 0
Accepted Answers:
Disk
10)Part of algorithm which is repeated for fixed number of times is classified as 1 point
Iteration
Selection
Sequence
Reverse Action
11)The following incomplete flowchart add all even numbers between 1 to 50. Complete it by 2 points
joining X with the given options.
Join X with A
Join X with B
Join X with C
None of these
https://onlinecourses.nptel.ac.in/noc18-cs10/unit?unit=6&assessment=43 3/7
13/06/2018 Problem solving through Programming In C - - Unit 2 - Week 1
Join X with B
12)This flowchart calculates the factorial (FACT) of a given number N. Replace the 2 points
decision box value (X) with the given options.
Is i <= N
Is i = N
Is i >= N
Is i <> N
13)This flowchart is to determine the smallest of three numbers a, b and c. Replace the boxes 2 points
X, Y and Z with the given options.
https://onlinecourses.nptel.ac.in/noc18-cs10/unit?unit=6&assessment=43 4/7
13/06/2018 Problem solving through Programming In C - - Unit 2 - Week 1
14)The following flowchart calculates the sum of the digits of a given number. Replace X with 2 points
suitable options.
https://onlinecourses.nptel.ac.in/noc18-cs10/unit?unit=6&assessment=43 5/7
13/06/2018 Problem solving through Programming In C - - Unit 2 - Week 1
n=n+1
n=n/10
n=n-10
n=n*10
Translates an ANSI C program into the Assembly Code for the underlying CPU
Translates any version of C program into the Assembly code for the underlying CPU
Is only functional in a LINUX Operating System
Is only available in WINDOWS 10 environment
Funded by
Powered by
https://onlinecourses.nptel.ac.in/noc18-cs10/unit?unit=6&assessment=43 7/7