0% found this document useful (0 votes)
322 views3 pages

NPTEL Week 2 Solution C 2020

1) The document is an assessment submitted for an online course on Problem Solving Through Programming in C through NPTEL. 2) It contains 10 multiple choice questions related to topics covered in Unit 4, Week 2 of the course like C variables, functions, software types, and basic C concepts. 3) The assessment is due on February 12th, 2020 and students can submit their answers multiple times before the due date, with their final submission being considered for grading.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
322 views3 pages

NPTEL Week 2 Solution C 2020

1) The document is an assessment submitted for an online course on Problem Solving Through Programming in C through NPTEL. 2) It contains 10 multiple choice questions related to topics covered in Unit 4, Week 2 of the course like C variables, functions, software types, and basic C concepts. 3) The assessment is due on February 12th, 2020 and students can submit their answers multiple times before the due date, with their final submission being considered for grading.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

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

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

[email protected]

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 4 - Week 2
Register for
Certification exam
Thank you for taking the Assignment 2.
(https://nptelaprilexam.swayam.gov.in/)

Course outline Assignment 2


Your last recorded submission was on 2020-02-09, 19:51 IST Due date: 2020-02-12, 23:59 IST.
How does an NPTEL
online course work? 1) Which of the following is not a C variable? 1 point

Week 0 a) Count123
b) Count_123
Week 1 c) Count@123
Week 2
d) X_123_Count

Lecture 6 : Types of
2) A function 1 point

Software and
Compilers (unit?
a) is a block of statements to perform some specific task
unit=3&lesson=20) b) is a fundamental modular unit to perform some task
Lecture 7: Introduction
c) has a name and can be used multiple times
to C Programming d) All the above options are true
Language (unit?
unit=3&lesson=21)
3) Which of the following statement is correct? 1 point

Lecture 8 : Variables a) System software is dependent on application software.


and Variable Types in
C (unit?
b) Application software is dependent on system software.
unit=3&lesson=22) c) Both are independent of each other.
Lecture 9 : Introducing
d) None of the above.
Functions (unit?
unit=3&lesson=23)
4) Syntax error occurs when 1 point

Lecture 10 : Address a) The rules of grammar of the programming language is violated


and Content of b) The statements in the program have no meaning
Variables and Types
(unit? c) The program gives wrong or undesired output
unit=3&lesson=24) d) Some illegal operation(e.g. divide by zero) is done
Quiz : Assignment 2 5) If integer needs two bytes of storage, then the minimum value of a signed integer in C 1 point
(assessment?
name=94)
would be
Feedback For Week 2
(unit?
unit=3&lesson=97)

Week 3

DOWNLOAD VIDEOS
6) Which of the following statement is correct? 1 point

Assignment Solution I. Keywords are those words whose meaning is already defined by Compiler.
II. Keywords cannot be used as variable name.

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

Assessment submitted.
III. There are 32 keywords in C.
X
IV. C keywords are also called as reserved words.
a) I and II
b) II and III
c) I, II and IV
d) All of the above
7) 1 point

a) 8.00
b) 4.00
c) 0.00
d) 16.00

8) 1 point

a) 21.00
b) 19.00
c) 0.00
d) 17.00
9) 1 point

a) 1.8*C +32
b) 1.8*(C + 32)
c) 1.8*C - 32
d) C/1.8 + 32

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

10) 1 point
Assessment submitted.
X

a) a=a-b; b=a-b; a=a+b;


b) a=a%b; b=a+b; a=a/b;
c) a=a+b; b=a-b; a=a-b;
d) None of the above
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=3&assessment=94 3/3

You might also like