(1) This document provides instructions for a midterm exam on Programming II taken by students at Al Imam Mohammad Ibn Saud Islamic University. The exam contains 4 questions to be completed in 90 minutes.
(2) Question 1 contains 8 multiple choice questions about object-oriented programming concepts like interfaces, inheritance, and polymorphism.
(3) Question 2 asks students to identify 3 errors in a code sample and provide corrections.
(4) Question 3 asks students to provide the output of 3 code segments.
(5) Question 4 asks students to design classes to model a medical staff management system, including abstract and concrete classes, and to write a test class demonstrating polymorphism.
Dear students, get JNU 2021 Solved assignments and case study help by professionals.
Mail us at : help.mbaassignments@gmail.com
Call us at : 08263069601
Dear students, get JNU 2021 Solved assignments and case study help by professionals.
Mail us at : help.mbaassignments@gmail.com
Call us at : 08263069601
Dear students, get JNU 2021 Solved assignments and case study help by professionals.
Mail us at : help.mbaassignments@gmail.com
Call us at : 08263069601
Holistic Approach for Arabic Word RecognitionEditor IJCATR
Optical Character Recognition (OCR) is one of the important branches. One segmenting words into character is one of the
most challenging steps on OCR. As the results of advances in machine speeds and memory sizes as well as the availability of large
training dataset, researchers currently study Holistic Approach “recognition of a word without segmentation”. This paper describes a
method to recognize off-line handwritten Arabic names. The classification approach is based on Hidden Markov models.. For each
Arabic word many HMM models with different number of states have been trained. The experiments result are encouraging, it also
show that best number of state for each word need careful selection and considerations.
This application takes care of IIT JEE admission process after the results of JEE is declared. This is done by a group of 20 people. My part is the backend coding of the admission process. The entire logic is given at the beginning of this report in a flow chart. This application was designed using java with mysql database using JDBC connector and Net Beans served as the primary IDE in this project.
Competition Gurukul takes it privilege to train, tame and prepare banking
aspirants under its “banking Coaching Programme" where the aspirants get
opportunity to have qualitative lecture sessions with highly trained &
qualified teachers
Competition Gurukul
www.competitiongurukul.in
Call: 9015596280, 9313565406
Competition Gurukul is the brain Child of IIT Delhi & NSIT Aluminums to help the Students for preparing the competitive exams in the innovation way by classroom coaching & online Mode.
www.competitiongurukul.in
Call: 9015596280, 9313565406
ANALYZING THE EFFICIENT TEST ORDER FOR INTEGRATION TESTINGacijjournal
One major characteristics of Object Oriented Software is the complex dependency that exists between classes due to three different types of relationships that are inheritance, association and aggregation. Due to these dependencies one major problem arise while integrating and testing the object oriented
software in order to reduce the number of required test stubs and to determine the test order for testing different classes. This paper presents a comparison between different test orders by exploiting a model produced during design stages (e.g. using UML), namely the Use Case Diagram and Class Diagrams.
Our goal is to study and compare different test orders. Based on which we will propose efficient test order to reduce the number of stubs as well as time of testing. For the analysis of our proposed method we will take software developed for ATM machine.
Dear students, get JNU 2021 Solved assignments and case study help by professionals.
Mail us at : help.mbaassignments@gmail.com
Call us at : 08263069601
Holistic Approach for Arabic Word RecognitionEditor IJCATR
Optical Character Recognition (OCR) is one of the important branches. One segmenting words into character is one of the
most challenging steps on OCR. As the results of advances in machine speeds and memory sizes as well as the availability of large
training dataset, researchers currently study Holistic Approach “recognition of a word without segmentation”. This paper describes a
method to recognize off-line handwritten Arabic names. The classification approach is based on Hidden Markov models.. For each
Arabic word many HMM models with different number of states have been trained. The experiments result are encouraging, it also
show that best number of state for each word need careful selection and considerations.
This application takes care of IIT JEE admission process after the results of JEE is declared. This is done by a group of 20 people. My part is the backend coding of the admission process. The entire logic is given at the beginning of this report in a flow chart. This application was designed using java with mysql database using JDBC connector and Net Beans served as the primary IDE in this project.
Competition Gurukul takes it privilege to train, tame and prepare banking
aspirants under its “banking Coaching Programme" where the aspirants get
opportunity to have qualitative lecture sessions with highly trained &
qualified teachers
Competition Gurukul
www.competitiongurukul.in
Call: 9015596280, 9313565406
Competition Gurukul is the brain Child of IIT Delhi & NSIT Aluminums to help the Students for preparing the competitive exams in the innovation way by classroom coaching & online Mode.
www.competitiongurukul.in
Call: 9015596280, 9313565406
ANALYZING THE EFFICIENT TEST ORDER FOR INTEGRATION TESTINGacijjournal
One major characteristics of Object Oriented Software is the complex dependency that exists between classes due to three different types of relationships that are inheritance, association and aggregation. Due to these dependencies one major problem arise while integrating and testing the object oriented
software in order to reduce the number of required test stubs and to determine the test order for testing different classes. This paper presents a comparison between different test orders by exploiting a model produced during design stages (e.g. using UML), namely the Use Case Diagram and Class Diagrams.
Our goal is to study and compare different test orders. Based on which we will propose efficient test order to reduce the number of stubs as well as time of testing. For the analysis of our proposed method we will take software developed for ATM machine.
Name _______________________________ Class time __________.docxrosemarybdodson23141
Name: _______________________________ Class time: __________
Prewriting Instructions for Paper 2 (Final Paper due 4/22)
1. Your choices for Paper 2 are posted on blackboard and also listed below.
2. Choose 1 of these paper options. Notice that each choice also mentions the type of paper (comparison, etc.) My paper choice is: _________________________: paper type: _______________.
3. Read the related essay(s) in your Research and Composition textbook.
4. Thursday: write a tentative thesis for paper 2 (one sentence): ______________________________________________________________________________________________________________________________________________________________________________________________________________________.
5. Thursday: write 5 questions that you will need to answer through research to write this paper (for ex. What is the divorce rate for 2012?) Write legibly please.
1.
2.
3.
4.
5.
6. Thursday: go to the library and use the databases to locate at least three sources that will likely give you the information to answer the five questions above. At least one should be a book, at least one should be a database article. In addition, you may use your textbook, internet, or even refer to a film. Write down the all of the information about each source. You will need this information for a works cited page later or to locate the article and book again. You do not need to answer the questions right away, but if you do find the answers, take notes or make a copy of the source.
Source 1: ____________________________________________________________________________________________________________________________________________________________
Source 2: ____________________________________________________________________________________________________________________________________________________________
Source 3: ____________________________________________________________________________________________________________________________________________________________
7. Have any new questions come to mind? What are they? Write them here:
8. Have you revised your thesis? What is it? ___________________________________
_____________________________________________________________________.
9. Write a tentative first paragraph to paper 2 (this includes your thesis):
10. Turn this in Tuesday 3/25 in exchange for your last Q exercise, M&M Color Distribution.
***You need this prewriting exercise completed to receive your instructions and data for this last Q exercise and parts of this exercise will count for your attendance in a week or so.
See next page
Writing Assignment 2 Choices due on or before 4/22
Here are your choices for Writing Assignment 2 due 4/22. Additional research is required for all choices. Two visuals, tables or figures, are required. Your paper will be in MLA format with a works cited page. This paper is approximately 5 pages including a works cited page.
1. Read the essays in Chapter 8. Go .
Student Name CourseCIS339Session (month, year)032019.docxcpatriciarpatricia
Student Name:
Course:
CIS339
Session (month, year):
03/2019
Object-Oriented System Analysis and Design
The School of Prosperity
Student Records System (SRS)
Week1—System Request3
Week2—Use Case Diagram AND Use Cases Descriptions5
Week3—Class Diagram AND CRC Cards9
Week4—Sequence, Communication, and State Machine Diagrams15
Week5—Package Diagram19
Week6—Method Contract AND Method Specification21
Week7—Object-Oriented Application Coding24
Week 1—System Request
1
Use this system request template and complete the SRS system request.
System Request—
Project sponsor:
School of Prosperity (SoP)
Business Need:
The existing desktop system will be upgraded to web-based application and this system will be used to maintain records of students, courses, classes, and student registration and grades.
Business Requirements:
The system is capable of having the following functonalities:
· Accessibility over the Internet
· Maintains records of school students
· Maintains records of courses offered by school
· Maintain records of classes offered of the above courses (both online and face-to-face classes)
· Students registration system is included as well
Business Value:
Conservative estimates of tangible value to the company include:
· The SRS will enable the school to continue the expansion of its student population and to effectively manage the expansion
· Eliminate many school staff hours re-entering paper form student registrations by allowing the students to self-register
· Make the system easy to access from anywhere there is an Internet connection and a web browser
Special Issues or Constraints:
· The SRS must be able to handle both online and face-to-face class offerings
· The system must be accessible over the Internet to both school staff and students each with appropriate permissions
· The SRS must try to integrate with and re-use existing desktop application code and database as much as possible to reduce development cost
2
Validate and verify that your system request addresses the SRS Preliminary Planning Overview.
The business need area explains what the SoP is requiring the system to operate. The business requirements consist of what the system must be able to handle and the expectations of the system (once it’s completed). The business value breaks down the details of information that the new system will save on both staff hours and finances for the school. The issues area give problems that could exist once the system is implemented.
3
Explain how you completed your work, the decisions you made to arrive at your conclusions, and the lessons you learned.
I, carefully, read the SRS Preliminary Planning Overview and highlighted the important business needs that the SRS system is to meet. I then started to complete the various sections of the System Request Form and while doing so, I referred back to the SRS overview document to confirm my conclusions and understanding. The result of this iterative process is the current Syste.
Student Name Daniel RosadoCourseCIS339Session (month, ye.docxemelyvalg9
Student Name: Daniel Rosado
Course:
CIS339
Session (month, year):
01/2016
Object-Oriented System Analysis and Design
The School of Prosperity
Student Records System (SRS)
Week1—System Request3
Week2—Use Case Diagram AND Use Cases Descriptions5
Week3—Class Diagram AND CRC Cards9
Week4—Sequence, Communication, and State Machine Diagrams15
Week5—Package Diagram19
Week6—Method Contract AND Method Specification21
Week7—Object-Oriented Application Coding24
Week1—System Request
1
Use this system request template and complete the SRS system request.
System Request
The School of Prosperity
Student Records System (SRS)
Project sponsor:
The School of Prosperity (SoP)
Business Need:
New Internet-accessible Student Record System that will allow students the capability to handle their own registration and staff to maintain records, courses, and schedule online-face-to-face classes.
Business Requirements:
1.) Online accessible system
2.) Reduce registration time
3.) Handle enrollment increases
Business Value:
1.) Reduction in time spent registering students by 90% from 1000 to 100 hrs.
2.) Increase in staff productivity by 10% resulting in $50,000/yr. in cost savings
3.) Paper/Printer usage reduction resulting in approximately $3,000 in savings/yr.
4.)Staff morale is expected to increase due to increased time available for their projects
5.) Eliminate paper filing/registration errors
Special Issues or Constraints:
1.) Completion in one year
2.) Security; Students access to school files must be addressed/restricted
3.) Possibly integrate with currently used home grown apps/systems
2
I believe that my system request addresses the SRS Preliminary Planning Overview because it addresses the issue of what the customer wants, the specifics it is requiring along with the time frame it is requesting it in.
Here are my five questions that would help clarify some project issues/concerns:
1. Will the project team be responsible for loading all the archived/previous semesters of data of students?
2. What are the levels of permissions/rights that will be required at each level (i.e. Help Desk, Advisor, Dean, etc.)?
3. Does the one year time frame include deployment and training, or is it just delivery of application/system?
4. Who will provide the architecture/infrastructure for this deployment?
5. Is SoP looking for a licensed/supported application or are they interested in a COTS (Custom off the Shelf) application that they own outright?
3I completed my work by reviewing the Preliminary Planning Overview and identifying, the request, sponsor, business need(s), requirement(s), value and issues/constraints. I made the decision to differentiate between what were needs/ requirements and what were requests. The needs/requirements were where the system was accessed (internet accessible), how/who accessed the data/system (security) and when it needed to be in place (in one year).
Week2—Use Case Diagram andUse Cases Descriptions
1
SRS Use Case Diagram
.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Normal Labour/ Stages of Labour/ Mechanism of LabourWasim Ak
Normal labor is also termed spontaneous labor, defined as the natural physiological process through which the fetus, placenta, and membranes are expelled from the uterus through the birth canal at term (37 to 42 weeks
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Safalta Digital marketing institute in Noida, provide complete applications that encompass a huge range of virtual advertising and marketing additives, which includes search engine optimization, virtual communication advertising, pay-per-click on marketing, content material advertising, internet analytics, and greater. These university courses are designed for students who possess a comprehensive understanding of virtual marketing strategies and attributes.Safalta Digital Marketing Institute in Noida is a first choice for young individuals or students who are looking to start their careers in the field of digital advertising. The institute gives specialized courses designed and certification.
for beginners, providing thorough training in areas such as SEO, digital communication marketing, and PPC training in Noida. After finishing the program, students receive the certifications recognised by top different universitie, setting a strong foundation for a successful career in digital marketing.
Digital Tools and AI for Teaching Learning and Research
Cs141 mid termexam v1
1. Imam University | CCIS |Doc. No. 006-01-20141026
Page 1 of 10
Al Imam Mohammad Ibn Saud Islamic University
College of Computer and Information Sciences
Computer Science Department
Course Title: Programming II
Course Code: CS141
Course
Instructor:
Dr Abdulrahman Albarrak Dr. Qaisar Abbas,
Dr Ashraf Shahin
Exam: Midterm
Semester: Fall 2016
Date: 22th Nov 2016
Duration: 90 Minutes
Marks: 20
Privileges: ☐ Open Book
☐ Calculator
Permitted
☐ Open Notes
☐ Laptop Permitted
Student Name (in
English):
Student ID:
Section No.:
Instructions:
1.Answer all questions; there are 4 questions in 7 pages.
2.Write your name on each page of the exam paper.
3.Write your answers directly on the question sheets. Use the ends of the question
pages for rough work or if you need extra space for your answer.
4.If information appears to be missing from a question, make a reasonable
assumption, state your assumption, and proceed.
5.No questions will be answered by the invigilator(s) during the exam period.
Official Use Only
Question Student Marks Question Marks
1 4
2 3
3 3
4 10
2. Imam University | CCIS |Doc. No. 006-01-20141026
Page 2 of 10
Total
Student Name (in
English):
__________________________________________ Student
ID:
_____________________________
Question 1: To be answered in ( ___ ) Minutes [ ] / 4 Marks
Select one or more appropriate options from multiple choice questions and try fill in
the following box with your choice for each point.
Note that if you did not find an appropriate answer then you can write your own
answer with some reasons.
Question 1 2 3 4 5 6 7 8
Answer
1. Which of the following is not true?
(a) An interface can extend another interface.
(b) A class which is implementing an interface must implement all the methods of
the interface.
(c) An interface can implement another interface.
(d) An interface is a solution for multiple inheritance in java.
(e) None of the above.
2. The fields in an interface are implicitly specified as,
(a) static only
(b) protected
(c) private
(d) both static and final
(e) none of the above.
3. To prevent any method from overriding, we declare the method as,
(a) static (b) const (c) final (d) abstract (e) none of the
above.
4. Which one of the following is not true?
(a) A class containing abstract methods is called an abstract class.
(b) Abstract methods should be implemented in the derived class.
(c) An abstract class cannot have non-abstract methods.
(d) A class must be qualified as ‘abstract’ class, if it contains one abstract method.
(e) None of the above.
5. Which statement is not true in java language?
3. Imam University | CCIS |Doc. No. 006-01-20141026
Page 3 of 10
(a) A public member of a class can be accessed in all the packages.
(b) A private member of a class cannot be accessed by the methods of the same
class.
(c) A private member of a class cannot be accessed from its derived class.
(d) A protected member of a class can be accessed from its derived class.
(e) None of the above.
6. Which of the following concepts means wrapping up of data and functions
together?
(a) Abstraction
(b) Encapsulation
(c) Inheritance
(d) Polymorphism
7. Which of the following is correct about function overloading?
(a) The types of arguments are different.
(b) The order of argument is different.
(c) The number of argument is same.
(d) Both A and B.
8. How many instances of an abstract class can be created?
(a) 1 (b) 5 (c) 13 (d) 0
4. Imam University | CCIS |Doc. No. 006-01-20141026
Page 4 of 10
Student Name (in
English):
__________________________________________ Student
ID:
_____________________________
Question 2: To be answered in ( ___ ) Minutes [ ] / 3 Marks
Let be the following code:
There are three mistakes in this code. Please find those mistakes and make the code
error free. Write the line number and clearly specify the problem.
Line No Error Correction
1. abstractclassEx {
2. static intx=2;
4. public abstractvoid set(inta);
5. public abstractvoid print();
6. public static intgetX()
7. {return this.x;}
8. }
9. class Ex1 extends Ex {
10. privateint y;
11. public Ex1()
12. { y=3; }
13. public void print()
14. { System.out.println(y); }
15. }
16. classEx2 extends Ex1 {
17. privateint z;
18. public Ex2()
19. { z=5; }
20. @Override
21. public void set(int a)
22. {z=a; }
23. public int get()
24. {return z; }
25. public void print()
26. {
27. super.print();
28. System.out.println(z);
29. }
30. }
31. classExRun {
32. public static void main (String[] args){
33. Ex a=new Ex1();
34. Ex b=new Ex2();
35. if( b instanceof Ex2)
36. { System.out.println( ((Ex2)b).get()); }
37. }
38. }
5. Imam University | CCIS |Doc. No. 006-01-20141026
Page 5 of 10
Student Name (in
English):
__________________________________________ Student
ID:
_____________________________
Question 3: To be answered in ( ___ ) Minutes [ ] / 3 Marks
Provide the output(s) of the following code segments and fill in the following box
with outputs for each point.
Question 1 2 3
outputs
(1)
class Test1 {
public inta;
public Test1()
{ a=5;
print();
}
public void print()
{System.out.println(a);}
}
class Testextends Test1{
public intb;
public Test()
{
b=3;
}
@Override
public void print()
{System.out.println( b);}
}
class RunTest{
public static void main (String[] args){
Test1 e=new Test() ;
}
}
(2)
class Test1 {
public static intcount=2;
int x=5;
public Test1()
{ x++;
6. Imam University | CCIS |Doc. No. 006-01-20141026
Page 6 of 10
count+=x;
}
public intgetCount()
{ return this.count; }
}
public classTest{
public static void main(String[] args) {
Test1 a;
Test1 b=new Test1();
Test1 c=new Test1();
System.out.println(b.getCount());
}
}
(3)
class Ex {
privateint x;
public Ex()
{ x=2;}
public void print()
{ System.out.println( x);}
}
class Ex1 extends Ex{
privateint y;
public Ex1()
{ y=5; }
@Override
public void print()
{ System.out.println( y);}
}
class ExRun {
public static void main (String[] args){
Ex a=new Ex1();
a.print();
}
}
7. Imam University | CCIS |Doc. No. 006-01-20141026
Page 7 of 10
Student Name (in
English):
__________________________________________ Student
ID:
_____________________________
Question 4: To be answered in ( ___ ) Minutes [ ] / 10 Marks
A new medical staff management system is created for a small hospital. In this system, the
medical staff are of three types: (i) doctor, (ii) nurse and (iii) therapist. Each medical staff has
the following attributes: a name (type String), joined Date (type Date), a social security
number (type int) and education (type String). These attributes are fixed once they added to
the system. For each doctor we need to consider the specialty (String), rank (String),
department(String). For each nurse, a ward number (type int), type(String), Skills (String),
role(String) are taken into consideration. For a therapist, treatment Type (String),
skills(String), function(String) are stored. We need to know the number of staff in the hospital
and we need to know the number of staff for each type.
(a) Write the needed abstract and concrete classes to represent the system. For each class
provide a toString method that returns a String representation of an object of the class with
its attributes and the attributes of its superclass (5 points).
(b) Declare the Test class that contains public static void main(String[] args). In the main take
the number of staff to be added to the system and for each staff allow the user to select the
type of staff (Doctor, Nurse, Therapist) to be add to the system (use switch). The program
should be implemented using polymorphism (demonstrating polymorphic behavior when
dealing with staff). Once you have added all the staff print the number of all staff and the
number of staff in each type. Write a loop to print all the staff information (call to String (5
points).
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................