Nothing Special   »   [go: up one dir, main page]

NPTEL Week 1 Solution C 2020

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

2/9/2020 Problem solving through Programming In C - - Unit 3 - Week 1

Assessment submitted.
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
X

vishnupetla@gmail.com 

NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Problem solving through Programming In C (course)

Announcements (announcements) About the Course (https://swayam.gov.in/nd1_noc20_cs06/preview) Ask a Question (forum) Progress (student/home)

Mentor (student/mentor)

Unit 3 - Week 1
Register for Certification
exam
Thank you for taking the Assignment 1.
(https://nptelaprilexam.swayam.gov.in/)

Course outline Assignment 1


Your last recorded submission was on 2020-02-09, 16:53 IST Due date: 2020-02-12, 23:59 IST.
How does an NPTEL online
course work? 1) C language was developed by 1 point

Week 0 a) Dennis Ritchie (https://www.google.com/search?client=firefox-b-


d&q=Dennis+Ritchie&stick=H4sIAAAAAAAAAONgVuLQz9U3MLI0Nn7E6Mgt8PLHPWEpi0lrTl5jNOLiCs7IL3fNK8ksqR
Week 1
b) Bjarne Stroustrup
Lecture 1 : Introduction (unit? c) James Gosling (https://www.google.com/search?client=firefox-b-
unit=2&lesson=15) d&q=James+Gosling&stick=H4sIAAAAAAAAAONgVuLQz9U3SMkzjH_E6Mgt8PLHPWEpi0lrTl5jNOLiCs7IL3fNK8ksqRR
Lecture 2: Idea of Algorithms d) Guido van Rossum
(unit?unit=2&lesson=16)
2) A 2D diagram to represent the steps to be followed to solve a problem is known as 1 point
Lecture 3: Flow Chart and
Pseudocode (unit? a) Flow-chart
unit=2&lesson=17)
b) Pseudo-code
Lecture 4 : Introduction to Both (a) and (b)
Programming Language
Concepts (unit?
d) None of these
unit=2&lesson=18) 3) Which one of the following statement is the most appropriate? 1 point
Lecture 5 : Variables and
Memory (unit? a) Flowchart is diagrammatic representation of the algorithm. Pseudo code is just another name of algorithm.
unit=2&lesson=19) b) Flowchart is basically a diagrammatic representation of the algorithm. Whereas in pseudo code normal English
Quiz : Assignment 1 language is translated into the programming languages to be worked on.
(assessment?name=93) c) Pseudo code is basically a diagrammatic representation of the algorithm. Whereas in flowchart normal English
Feedback For Week 1 (unit? language is translated into the programming languages to be worked on.
unit=2&lesson=96) d) Pseudo code is another name of programming. Whereas in flowchart is diagrammatic representation of algorithm.

Week 2 4) The ALU of a computer 1 point

DOWNLOAD VIDEOS a) Can perform logical operation only


b) Can perform arithmetic operation only
Assignment Solution c) Can perform both arithmetic and logical operations
d) None of the above.
5) When we write X=10 and Y=X, which of the following memory assignment is correct 1 point

a) X and Y will have same location and 10 will be stored.


b) X and Y will have two distinct locations and 10 will be stored in both.
c) X and Y will have same location and only X will contain value 10
d) X and Y will have two distinct locations and only X will contain value 10

https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=2&assessment=93 1/3
2/9/2020 Problem solving through Programming In C - - Unit 3 - Week 1

6) 1 point
Assessment submitted.
X

a) 120
b) 720
c) 5040
d) 1
7) 1 point

a) 4321
b) 10
c) 4
d) 9

https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=2&assessment=93 2/3
2/9/2020 Problem solving through Programming In C - - Unit 3 - Week 1

8) 1 point
Assessment submitted.
X

a) 1. r!=0 2. a=r and b=q


b) 1. q=0 2. a=b and b=r
c) 1. r=0 2. a=q and b=r
d) 1. r=0 2. a=b and b=r
9) Compiler helps in the translation from 1 point

a) Integer to binary
b) High-level program to binary digits
c) High-level language to machine level language
d) Pseudo code to computer program
10) Computer memory which is used to store programs and data currently being processed by CPU is 1 point

a) ROM
b) RAM
c) Cache memory
d) PROM
You may submit any number of times before the due date. The final submission will be considered for grading.
Submit Answers

https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=2&assessment=93 3/3

You might also like