SlideShare a Scribd company logo
JAIPUR NATIONAL UNIVERSITY, JAIPUR
School of Distance Education & Learning
Internal Assignment No. 1
Master of Computer Applications (MCA)
Paper Code: MCA – 204
Paper Title: Programming in Java
Last date of submission:
Max. Marks: 15
Note : Question No. 1 is of short answer type and is compulsory for all the students.
It carries 5 Marks. (Word limits 50-100)
Q. 1. Answer all the questions.
(i) What are the four main OOPS concepts?
(ii) Explain token with one example?
(iii) Differentiate --a and a--.
(iv) Define decision control statement.
(v) What is array and how to declare it?
Note: Answer any two questions. Each question carries 5 marks (Word limits 500)
Q. 2. Explain in detail sequence control statement.
Q. 3. Write a programme to short an array of strings.(for bubble sort)
Q. 4. Explain the garbage collection and garbage collection algorithms.
JAIPUR NATIONAL UNIVERSITY, JAIPUR
School of Distance Education & Learning
Internal Assignment No. 2
Master of Computer Applications (MCA)
Paper Code: MCA – 204
Paper Title: Programming in Java
Last date of submission:
Max. Marks: 15
Note : Question No. 1 is of short answer type and is compulsory for all the students.
It carries 5 Marks. (Word limits 50-100)
Q. 1. Answer all the questions.
(i) Explain the class and constructors.
(ii) Explain the abstract methods and classes.
(iii) What is wrapper class and number class?
(iv) Briefly explain the types of packagesx.
(v) Differentiate between throw and throws.
Note: Answer any two questions. Each question carries 5 marks (Word limits 500)
Q. 2. What is inheritance, Described any two type of inheritance with coding.
Q. 3. What is exception? Write a Java programme to handle arithmetic exception.
Q. 4. Write a programme to read and write in file.

More Related Content

What's hot

17 pcds syllabus
17 pcds syllabus17 pcds syllabus
17 pcds syllabus
anandgudnavar
 
Placement and Practice Tests from (RELOD + Бабушкина Ирина Викторовна)
Placement and Practice Tests from (RELOD + Бабушкина Ирина Викторовна)Placement and Practice Tests from (RELOD + Бабушкина Ирина Викторовна)
Placement and Practice Tests from (RELOD + Бабушкина Ирина Викторовна)
RELOD
 
SE-IT MINI PROJECT SYLLABUS
SE-IT MINI PROJECT SYLLABUSSE-IT MINI PROJECT SYLLABUS
SE-IT MINI PROJECT SYLLABUS
nikshaikh786
 
Lecture 2
Lecture 2Lecture 2
Engr de 6_unitplan_flip_flopcircuits
Engr de 6_unitplan_flip_flopcircuitsEngr de 6_unitplan_flip_flopcircuits
Engr de 6_unitplan_flip_flopcircuitsanil u
 
Flipped classroom 1 for fermi level
Flipped classroom 1 for fermi levelFlipped classroom 1 for fermi level
Flipped classroom 1 for fermi level
kiranmadhale1
 
technology in standardized language assessment
technology in standardized  language assessmenttechnology in standardized  language assessment
technology in standardized language assessmentHuang YaLi
 
flipped classroom 2 for fermi level
flipped classroom 2 for fermi levelflipped classroom 2 for fermi level
flipped classroom 2 for fermi level
kiranmadhale1
 
OxfordEnglishTesting.com - Learner Autonomy in Exams Classes
OxfordEnglishTesting.com - Learner Autonomy in Exams ClassesOxfordEnglishTesting.com - Learner Autonomy in Exams Classes
OxfordEnglishTesting.com - Learner Autonomy in Exams Classes
jeneferjohnson
 
Mca 205
Mca 205Mca 205
Mca 205
smumbahelp
 
Redesigning the Computer-assisted Language Exams for Federal Government Emplo...
Redesigning the Computer-assisted Language Exams for Federal Government Emplo...Redesigning the Computer-assisted Language Exams for Federal Government Emplo...
Redesigning the Computer-assisted Language Exams for Federal Government Emplo...
Kenji Lamb
 
00 Fundamentals of csharp course introduction
00 Fundamentals of csharp course introduction00 Fundamentals of csharp course introduction
00 Fundamentals of csharp course introduction
maznabili
 
11.toward an integrated framework for language testing and intervention
11.toward an integrated framework for language testing and intervention11.toward an integrated framework for language testing and intervention
11.toward an integrated framework for language testing and interventionAlexander Decker
 
6.[35 40]toward an integrated framework for language testing and intervention
6.[35 40]toward an integrated framework for language testing and intervention6.[35 40]toward an integrated framework for language testing and intervention
6.[35 40]toward an integrated framework for language testing and intervention
Alexander Decker
 
Moodle quiz: towards post-paper e-assessment
Moodle quiz: towards post-paper e-assessmentMoodle quiz: towards post-paper e-assessment
Moodle quiz: towards post-paper e-assessment
mathewhillier
 
Pedagocical Agents
Pedagocical AgentsPedagocical Agents
Pedagocical AgentsFIT Ltd
 
DTCP2023 Fundamentals of Programming
DTCP2023 Fundamentals of ProgrammingDTCP2023 Fundamentals of Programming
DTCP2023 Fundamentals of Programming
Khirulnizam Abd Rahman
 
IrinaRets_OER_linguistic_accessibility_oer19
IrinaRets_OER_linguistic_accessibility_oer19IrinaRets_OER_linguistic_accessibility_oer19
IrinaRets_OER_linguistic_accessibility_oer19
Irina Rets
 

What's hot (18)

17 pcds syllabus
17 pcds syllabus17 pcds syllabus
17 pcds syllabus
 
Placement and Practice Tests from (RELOD + Бабушкина Ирина Викторовна)
Placement and Practice Tests from (RELOD + Бабушкина Ирина Викторовна)Placement and Practice Tests from (RELOD + Бабушкина Ирина Викторовна)
Placement and Practice Tests from (RELOD + Бабушкина Ирина Викторовна)
 
SE-IT MINI PROJECT SYLLABUS
SE-IT MINI PROJECT SYLLABUSSE-IT MINI PROJECT SYLLABUS
SE-IT MINI PROJECT SYLLABUS
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Engr de 6_unitplan_flip_flopcircuits
Engr de 6_unitplan_flip_flopcircuitsEngr de 6_unitplan_flip_flopcircuits
Engr de 6_unitplan_flip_flopcircuits
 
Flipped classroom 1 for fermi level
Flipped classroom 1 for fermi levelFlipped classroom 1 for fermi level
Flipped classroom 1 for fermi level
 
technology in standardized language assessment
technology in standardized  language assessmenttechnology in standardized  language assessment
technology in standardized language assessment
 
flipped classroom 2 for fermi level
flipped classroom 2 for fermi levelflipped classroom 2 for fermi level
flipped classroom 2 for fermi level
 
OxfordEnglishTesting.com - Learner Autonomy in Exams Classes
OxfordEnglishTesting.com - Learner Autonomy in Exams ClassesOxfordEnglishTesting.com - Learner Autonomy in Exams Classes
OxfordEnglishTesting.com - Learner Autonomy in Exams Classes
 
Mca 205
Mca 205Mca 205
Mca 205
 
Redesigning the Computer-assisted Language Exams for Federal Government Emplo...
Redesigning the Computer-assisted Language Exams for Federal Government Emplo...Redesigning the Computer-assisted Language Exams for Federal Government Emplo...
Redesigning the Computer-assisted Language Exams for Federal Government Emplo...
 
00 Fundamentals of csharp course introduction
00 Fundamentals of csharp course introduction00 Fundamentals of csharp course introduction
00 Fundamentals of csharp course introduction
 
11.toward an integrated framework for language testing and intervention
11.toward an integrated framework for language testing and intervention11.toward an integrated framework for language testing and intervention
11.toward an integrated framework for language testing and intervention
 
6.[35 40]toward an integrated framework for language testing and intervention
6.[35 40]toward an integrated framework for language testing and intervention6.[35 40]toward an integrated framework for language testing and intervention
6.[35 40]toward an integrated framework for language testing and intervention
 
Moodle quiz: towards post-paper e-assessment
Moodle quiz: towards post-paper e-assessmentMoodle quiz: towards post-paper e-assessment
Moodle quiz: towards post-paper e-assessment
 
Pedagocical Agents
Pedagocical AgentsPedagocical Agents
Pedagocical Agents
 
DTCP2023 Fundamentals of Programming
DTCP2023 Fundamentals of ProgrammingDTCP2023 Fundamentals of Programming
DTCP2023 Fundamentals of Programming
 
IrinaRets_OER_linguistic_accessibility_oer19
IrinaRets_OER_linguistic_accessibility_oer19IrinaRets_OER_linguistic_accessibility_oer19
IrinaRets_OER_linguistic_accessibility_oer19
 

Similar to Mca 204

Mca 104
Mca 104Mca 104
Mca 104
smumbahelp
 
Mca 203
Mca 203Mca 203
Mca 203
smumbahelp
 
Mca 201
Mca 201Mca 201
Mca 201
smumbahelp
 
Mca 106
Mca 106Mca 106
Mca 106
smumbahelp
 
Java mid
Java midJava mid
Java mid
Jawad Shinwari
 
Mba 106-research methodology for management decision
Mba 106-research methodology for management decisionMba 106-research methodology for management decision
Mba 106-research methodology for management decision
smumbahelp
 
Mca 107
Mca 107Mca 107
Mca 107
smumbahelp
 
Mca 202
Mca 202Mca 202
Mca 202
smumbahelp
 
Mca 206
Mca 206Mca 206
Mca 206
smumbahelp
 
Mca 301
Mca 301Mca 301
Mca 301
smumbahelp
 
Mba 105-production and operations management
Mba 105-production and operations managementMba 105-production and operations management
Mba 105-production and operations management
smumbahelp
 
Flipped classroom activity_constructor
Flipped classroom activity_constructorFlipped classroom activity_constructor
Flipped classroom activity_constructor
priyamphil123
 
Cs141 mid termexam v1
Cs141 mid termexam v1Cs141 mid termexam v1
Cs141 mid termexam v1
Fahadaio
 
C# Interview Questions | Edureka
C# Interview Questions | EdurekaC# Interview Questions | Edureka
C# Interview Questions | Edureka
Edureka!
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programming
smumbahelp
 
Devry CIS 355A Full Course Latest
Devry CIS 355A Full Course LatestDevry CIS 355A Full Course Latest
Devry CIS 355A Full Course Latest
Atifkhilji
 
i. Pick one topic from this class that most interested you. State th.docx
i. Pick one topic from this class that most interested you. State th.docxi. Pick one topic from this class that most interested you. State th.docx
i. Pick one topic from this class that most interested you. State th.docx
jewisonantone
 
Devry CIS 247 Full Course Latest
Devry CIS 247 Full Course LatestDevry CIS 247 Full Course Latest
Devry CIS 247 Full Course Latest
Atifkhilji
 
Smu mscit sem 1 winter 2014 assignments
Smu mscit sem 1 winter 2014 assignmentsSmu mscit sem 1 winter 2014 assignments
Smu mscit sem 1 winter 2014 assignments
smumbahelp
 

Similar to Mca 204 (20)

Mca 104
Mca 104Mca 104
Mca 104
 
Mca 203
Mca 203Mca 203
Mca 203
 
Mca 201
Mca 201Mca 201
Mca 201
 
Mca 106
Mca 106Mca 106
Mca 106
 
Java mid
Java midJava mid
Java mid
 
Mba 106-research methodology for management decision
Mba 106-research methodology for management decisionMba 106-research methodology for management decision
Mba 106-research methodology for management decision
 
Mca 107
Mca 107Mca 107
Mca 107
 
Mca 202
Mca 202Mca 202
Mca 202
 
Mca 206
Mca 206Mca 206
Mca 206
 
Mca 301
Mca 301Mca 301
Mca 301
 
Mba 105-production and operations management
Mba 105-production and operations managementMba 105-production and operations management
Mba 105-production and operations management
 
Flipped classroom activity_constructor
Flipped classroom activity_constructorFlipped classroom activity_constructor
Flipped classroom activity_constructor
 
Cs141 mid termexam v1
Cs141 mid termexam v1Cs141 mid termexam v1
Cs141 mid termexam v1
 
C# Interview Questions | Edureka
C# Interview Questions | EdurekaC# Interview Questions | Edureka
C# Interview Questions | Edureka
 
LBYEC72_Overview
LBYEC72_OverviewLBYEC72_Overview
LBYEC72_Overview
 
Mit103 object oriented programming
Mit103  object oriented programmingMit103  object oriented programming
Mit103 object oriented programming
 
Devry CIS 355A Full Course Latest
Devry CIS 355A Full Course LatestDevry CIS 355A Full Course Latest
Devry CIS 355A Full Course Latest
 
i. Pick one topic from this class that most interested you. State th.docx
i. Pick one topic from this class that most interested you. State th.docxi. Pick one topic from this class that most interested you. State th.docx
i. Pick one topic from this class that most interested you. State th.docx
 
Devry CIS 247 Full Course Latest
Devry CIS 247 Full Course LatestDevry CIS 247 Full Course Latest
Devry CIS 247 Full Course Latest
 
Smu mscit sem 1 winter 2014 assignments
Smu mscit sem 1 winter 2014 assignmentsSmu mscit sem 1 winter 2014 assignments
Smu mscit sem 1 winter 2014 assignments
 

Recently uploaded

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 

Recently uploaded (20)

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 

Mca 204

  • 1. JAIPUR NATIONAL UNIVERSITY, JAIPUR School of Distance Education & Learning Internal Assignment No. 1 Master of Computer Applications (MCA) Paper Code: MCA – 204 Paper Title: Programming in Java Last date of submission: Max. Marks: 15 Note : Question No. 1 is of short answer type and is compulsory for all the students. It carries 5 Marks. (Word limits 50-100) Q. 1. Answer all the questions. (i) What are the four main OOPS concepts? (ii) Explain token with one example? (iii) Differentiate --a and a--. (iv) Define decision control statement. (v) What is array and how to declare it? Note: Answer any two questions. Each question carries 5 marks (Word limits 500) Q. 2. Explain in detail sequence control statement. Q. 3. Write a programme to short an array of strings.(for bubble sort) Q. 4. Explain the garbage collection and garbage collection algorithms.
  • 2. JAIPUR NATIONAL UNIVERSITY, JAIPUR School of Distance Education & Learning Internal Assignment No. 2 Master of Computer Applications (MCA) Paper Code: MCA – 204 Paper Title: Programming in Java Last date of submission: Max. Marks: 15 Note : Question No. 1 is of short answer type and is compulsory for all the students. It carries 5 Marks. (Word limits 50-100) Q. 1. Answer all the questions. (i) Explain the class and constructors. (ii) Explain the abstract methods and classes. (iii) What is wrapper class and number class? (iv) Briefly explain the types of packagesx. (v) Differentiate between throw and throws. Note: Answer any two questions. Each question carries 5 marks (Word limits 500) Q. 2. What is inheritance, Described any two type of inheritance with coding. Q. 3. What is exception? Write a Java programme to handle arithmetic exception. Q. 4. Write a programme to read and write in file.