Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

13/06/2018 Problem solving through Programming In C - - Unit 2 - Week 1

[email protected]

Courses » Problem solving through Programming In C

Announcements Course Ask a Question Progress Mentor

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 2: Idea Only (i)


of Algorithms
Both (i) and (ii) only
Lecture 3: Flow Only (ii)
Chart and
None of them
Pseudocode

Lecture 4 : No, the answer is incorrect.


Introduction to Score: 0
Programming
Accepted Answers:
Language
Concepts
Both (i) and (ii) only

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

Week 3 Only (i)


Both (i) and (ii)
Week 4
Only (ii)

Week 5 None of them

No, the answer is incorrect.


Week 6 Score: 0

Week 7 Accepted Answers:


Only (ii)
Week 8 4) A flowchart is 0 points

Week 9 3D representation of a 1D program


Pictorial equivalent of a C program
Week 10
An equivalent of a Pseudo Code
https://onlinecourses.nptel.ac.in/noc18-cs10/unit?unit=6&assessment=43 1/7
13/06/2018 Problem solving through Programming In C - - Unit 2 - Week 1

Week 11 Is independent of the underlying computer

No, the answer is incorrect.


Week 12 Score: 0
Accepted Answers:
DOWNLOAD
VIDEOS Is independent of the underlying computer

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

No, the answer is incorrect.


Score: 0
Accepted Answers:
4 numbers

6) Pseudocode is used for 1 point

A. Denoting the program flow


B. Program Code
C. For coding the program
D. To write program steps

No, the answer is incorrect.


Score: 0
Accepted Answers:
A. Denoting the program flow

7) Converters from High Level Language to Machine Language is called 1 point

Interpreter
Compiler
Both A and B
None of them

No, the answer is incorrect.


Score: 0
Accepted Answers:
Both A and B

8) Computer memory has one part, which is called RAM. The full form of RAM is 1 point

Random Access Memory


Read Accurate Memory
Read Alternate Memory
Read Access Memory

No, the answer is incorrect.


Score: 0
Accepted Answers:
Random Access Memory

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

No, the answer is incorrect.


Score: 0
Accepted Answers:
Iteration

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

No, the answer is incorrect.


Score: 0
Accepted Answers:

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

No, the answer is incorrect.


Score: 0
Accepted Answers:
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

No, the answer is incorrect.


Score: 0
Accepted Answers:

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

No, the answer is incorrect.


Score: 0
Accepted Answers:
n=n/10

15)An ANSI C Compiler is 2 points

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

No, the answer is incorrect.


Score: 0
Accepted Answers:
Translates an ANSI C program into the Assembly Code for the underlying CPU

Previous Page End


https://onlinecourses.nptel.ac.in/noc18-cs10/unit?unit=6&assessment=43 6/7
13/06/2018 Problem solving through Programming In C - - Unit 2 - Week 1

© 2014 NPTEL - Privacy & Terms - Honor Code - FAQs -


A project of In association with

Funded by

Powered by

https://onlinecourses.nptel.ac.in/noc18-cs10/unit?unit=6&assessment=43 7/7

You might also like