Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
8 views
4 pages
2021 T
Past papers
Uploaded by
Saminda Lakshan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save 2021 T For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
8 views
4 pages
2021 T
Past papers
Uploaded by
Saminda Lakshan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save 2021 T For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save 2021 T For Later
You are on page 1
/ 4
Search
Fullscreen
AI RightsReserved ‘Department of Technical Education and Training C6020 NVQ Level 05 Written Examination — December 2021 (April/May 2022) (Semester 1) National Diploma in Information & Communication Technology L@ i) 2 @ (i) Software Programming - Theory [_ssinvenos ( ig Instructions: Answer five (05) questions . First three questions are Compulsory Three Hours Part A - Select one Question Part B - Select one Question (This paper consists of 04 pages.) What are the control structures used in programming, Explain all the control structures briefly giving suitable examples with code segments. (05 Marks) A technical college has 1200 students. The following pseudocode prints the addmission number of students who have attended the school every day ( 200 days ) in a particular academic year. BEGIN. c=0 While C < 1200 Input “ Admission Number of Student :” , addmissionNo Input “ Number of days attended ”, noOfDays If noOfDays = 200 then Print admissionNo Endif c-CH End While END (a) Draw the flow chart to represent the above pseudo code ( Use the same variable names as given in the pseudocode in your flowchart ) (07 Marks) (b) Convert the above pseudo code into a computer program, writing the code selecting a suitable Computer language (08 Marks) Briefly explain the following terms: (a) Instance of a class (b) Information Hiding (©) Polymorphism (09 Marks) Write a program to find the sum of first 100 prime numbers. (11 Marks)3, (i) What are the differences between Compiler and Interpreter? (iii) Explain the relationship between class and object. (iii) Write a program to check whether the given number is even or odd. PART-A 4. (i) Write short notes for the following giving example for each. (a) Byte Code (b) Access Modifiers in Java (©) Getters and Setters (ii) Write a java program to compute the area of a circle. 5. (i) Write a Java program to demonstrate Exception Handling. i) Consider the following Java program. Write the correct output of the program, when itis executed. public class Question { public static void main(String args(]){ int da; uyt 4-0; a=45id; System.out printin("It Works"); } catch(ArithmeticException e) { System.out printin("It is over !"); } System.out printin("The program ends"); 0 (04 Marks) (06 Marks) (10 Marks) (09 Marks) (11 Marks) (06 Marks) (04 Marks)(iii) A Java class called “CalMath” is given here as follows. This class consists of a function named “getPower™ to return the n th power of @ given number import java.lang, Math; public class calMath { double z; public double getPower(int x, int y) { z= Math pow(x, y); return 75, } (a) Create a class as a child class with main method () to display the value of 26. You can make use of the inheritance feature here by considering the “calMath” class as super class. (10 Marks) PART- B 6 @_ Whatis two dimensional array ? Explain with an example? (05 Marks) (ii) Answer the following questions based on the given screen interface named as “STUDENT RESULTS OF MS OFFICE” (2) Write visual basic . net console application to display the Total marks, Average Marks and Grade based on the following conditions, when input Student Id, Student Name and marks of the MS office packages. User can input any number of records entering “ Y “ for “Any More Records” option.Conditions. ‘Average Marks less than 40 -> Fail Average Marks between 41-50 -> Pass Average Marks between 51-60 -> Credit ‘Average Marks between 61-70 - > Merit ‘Average Marks more than70 - > Distinction (15 Marks) (i) Whatis ADO.net ?- Explain in brief. (04 Marks) (i) @_ Write Visual Basic . net code to calculate the Balance payment, interest and monthly installment and display on the screen when entered the price of the furniture and initial payment. The calculation is done according to the selected furniture type and following interest rate Steel furniture interest rate is. 12% for two year period Wood furniture interest rate is 18% for three year period (10 Marks) ee: | Select the Fumiture Type : Prize of the Fumiture 50000) 3 tntatPement [20000] Balance [30000] Interest ___ 3600] | Monthly Installment [__ 1400 | (b) Write the code to clear all the text boxes when clicked Clear” Button (06 Marks) bebe
You might also like
CLASS 9 COMP APP Exam
PDF
100% (1)
CLASS 9 COMP APP Exam
2 pages
Software Programming Theory
PDF
No ratings yet
Software Programming Theory
8 pages
OOPJ
PDF
No ratings yet
OOPJ
7 pages
Programming I Assignment
PDF
No ratings yet
Programming I Assignment
1 page
Hcsci132 Aug 2022
PDF
No ratings yet
Hcsci132 Aug 2022
4 pages
2019 Ds1 Nov Exam Past Paper
PDF
No ratings yet
2019 Ds1 Nov Exam Past Paper
5 pages
Divyanshi 05401172023 OOPJ Practical
PDF
No ratings yet
Divyanshi 05401172023 OOPJ Practical
48 pages
Assignment Final Draft
PDF
No ratings yet
Assignment Final Draft
49 pages
Computer Practise Paper 1 (Solved)
PDF
No ratings yet
Computer Practise Paper 1 (Solved)
12 pages
Computer Science - Inter Special Examination 2020
PDF
No ratings yet
Computer Science - Inter Special Examination 2020
7 pages
Assignments - Oct 2023
PDF
No ratings yet
Assignments - Oct 2023
3 pages
CPP Assignment
PDF
No ratings yet
CPP Assignment
7 pages
Computer Applications
PDF
No ratings yet
Computer Applications
4 pages
Computer Practise Paper 2 Unsolved
PDF
No ratings yet
Computer Practise Paper 2 Unsolved
3 pages
Lab Experiment 02:: Object Oriented Modeling & Control Structures Objectives
PDF
No ratings yet
Lab Experiment 02:: Object Oriented Modeling & Control Structures Objectives
7 pages
All Qps Exam 1 To Exam-28 Subho's 24-25
PDF
No ratings yet
All Qps Exam 1 To Exam-28 Subho's 24-25
82 pages
First Term Examination-2018 Max. Time: 2 Hrs
PDF
No ratings yet
First Term Examination-2018 Max. Time: 2 Hrs
3 pages
Lab 2
PDF
No ratings yet
Lab 2
8 pages
P.G.D.C.A. (Semester - II) Examination, 2010 201: "C" PROGRAMMING (Old) (2005 Pattern)
PDF
No ratings yet
P.G.D.C.A. (Semester - II) Examination, 2010 201: "C" PROGRAMMING (Old) (2005 Pattern)
30 pages
PRACTICALS Hemo Roll No 21 EDIT
PDF
No ratings yet
PRACTICALS Hemo Roll No 21 EDIT
330 pages
ICSE Computer QP 2023 - Percentiler
PDF
No ratings yet
ICSE Computer QP 2023 - Percentiler
8 pages
Icse 2006 Computer Application Class 10
PDF
No ratings yet
Icse 2006 Computer Application Class 10
4 pages
Icse 10 Montgly 24
PDF
No ratings yet
Icse 10 Montgly 24
3 pages
Oopj Practical 2
PDF
No ratings yet
Oopj Practical 2
8 pages
Object Oriented Programing Dec 2010,2013,2016
PDF
No ratings yet
Object Oriented Programing Dec 2010,2013,2016
40 pages
Program List
PDF
No ratings yet
Program List
5 pages
Ooad 3
PDF
No ratings yet
Ooad 3
4 pages
All Software 2020 HND
PDF
No ratings yet
All Software 2020 HND
74 pages
Assignment 2
PDF
No ratings yet
Assignment 2
3 pages
CAT (1stsem)
PDF
No ratings yet
CAT (1stsem)
12 pages
Vbn70us Supp Exam
PDF
No ratings yet
Vbn70us Supp Exam
4 pages
PDF Document
PDF
No ratings yet
PDF Document
6 pages
Class 9 Computer First Terminal Examination 2023-24
PDF
No ratings yet
Class 9 Computer First Terminal Examination 2023-24
4 pages
Computer Annual Rev
PDF
No ratings yet
Computer Annual Rev
3 pages
Case Study 3
PDF
No ratings yet
Case Study 3
4 pages
I Pu Computer Science (Model Paper - 3)
PDF
No ratings yet
I Pu Computer Science (Model Paper - 3)
3 pages
Nov - Dec - 2022 (2) Dwds
PDF
No ratings yet
Nov - Dec - 2022 (2) Dwds
2 pages
9th 1st Term Paper 2023-24
PDF
No ratings yet
9th 1st Term Paper 2023-24
10 pages
Bit 2204 Java Programming
PDF
No ratings yet
Bit 2204 Java Programming
4 pages
Anna University: Chennai - 600 025. Model Question Paper V Semester B.Tech. Information Technology If353 - Visual Programming
PDF
No ratings yet
Anna University: Chennai - 600 025. Model Question Paper V Semester B.Tech. Information Technology If353 - Visual Programming
2 pages
Bachelor of Computer Applications (BCA) : Assignments Year, 2010 (6 Semester)
PDF
No ratings yet
Bachelor of Computer Applications (BCA) : Assignments Year, 2010 (6 Semester)
7 pages
Computer Application Examination: (Email ID:)
PDF
No ratings yet
Computer Application Examination: (Email ID:)
3 pages
MIS Annual Examination 2023-2024: Computer Applications (Theory)
PDF
No ratings yet
MIS Annual Examination 2023-2024: Computer Applications (Theory)
7 pages
Final Term Examination - February 2005: Time Allowed: 150 Minutes
PDF
No ratings yet
Final Term Examination - February 2005: Time Allowed: 150 Minutes
4 pages
Object Oriented Programming
PDF
No ratings yet
Object Oriented Programming
10 pages
Prep2 Cs
PDF
No ratings yet
Prep2 Cs
4 pages
Class-9, Computer Applications
PDF
75% (4)
Class-9, Computer Applications
3 pages
Kca University Object Oriented Programming Take Away Cat: Variance
PDF
No ratings yet
Kca University Object Oriented Programming Take Away Cat: Variance
3 pages
IT251 Java Practical List
PDF
No ratings yet
IT251 Java Practical List
10 pages
CS2309 Set1 PDF
PDF
No ratings yet
CS2309 Set1 PDF
6 pages
CS201 Collection of Old PApers
PDF
100% (2)
CS201 Collection of Old PApers
30 pages
Class-X (Two Hours) : Section B
PDF
No ratings yet
Class-X (Two Hours) : Section B
4 pages
OOP MSBTE Question Paper Summer 2008
PDF
No ratings yet
OOP MSBTE Question Paper Summer 2008
3 pages
Eeb315 Final Exam 2016 PDF
PDF
No ratings yet
Eeb315 Final Exam 2016 PDF
6 pages
Oops Assignment 1
PDF
No ratings yet
Oops Assignment 1
3 pages
Final CE141 CCP Practical List
PDF
No ratings yet
Final CE141 CCP Practical List
11 pages