SlideShare a Scribd company logo
Imam University | CCIS |Vice Deaneryof Development andQuality
Doc. No. 006-01-20140514
Page 1 of 5
Al Imam Mohammad Ibn Saud Islamic University
College of Computer and Information Sciences
Computer Science Department
Course Title: Computer Programming II
Course Code: CS141
Course
Instructor:
Dr. Adel Ammar, Dr. Ashraf Shahin, Dr. Yassin Daada,
Dr. Aram Alsedrani, Mse. Ebtesam Alobood, Mse. Mai
Alammar, Mse. Hessa Alawad, Mse. Shahad Alqefari,
Ahmed Khorsi
Exam: Midterm Exam 1
Semester: Fall 2017
Date: October 31, 2017
Duration: 1 hour
Marks: 15
Privileges: ☐ Open Book
☐ Calculator
Permitted
☐ Open Notes
☐ Laptop Permitted
Student Name (in
English):
Student ID:
Section No.:
Instructions:
1. Answer 3 questions; there are 3 questions in 5 pages.
2. Write your name on each page of the exam paper.
3. Write your answers directly on the question sheets. Use the backs 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.
Question Student Marks Question Marks
Imam University | CCIS |Vice Deaneryof Development andQuality
Doc. No. 006-01-20140514
Page 2 of 5
1 4
2 4
3 7
Total 15
Student Name (in
English):
__________________________________________ Student
ID:
_____________________
Question 1: To be answered in (10) Minutes [ ] / 4 Marks
Write the implementation of the class WordType
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
Imam University | CCIS |Vice Deaneryof Development andQuality
Doc. No. 006-01-20140514
Page 3 of 5
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
Imam University | CCIS |Vice Deaneryof Development andQuality
Doc. No. 006-01-20140514
Page 4 of 5
Question 2: To be answered in (10) Minutes [ ] / 4 Marks
Write the implementation of the class Word
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
Imam University | CCIS |Vice Deaneryof Development andQuality
Doc. No. 006-01-20140514
Page 5 of 5
Question 3: To be answered in (30) Minutes [ ] / 8 Marks
Write the implementation of the class Phrase:
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................

More Related Content

PDF
2018 Fa Chi 1 62265 tth syllabus
DOCX
Cs141 mid termexam2_fall2017_v1.1
DOCX
Cs141 mid1-2017-fall-solution2
DOCX
Cs141 mid termexam v3
DOCX
Cs141 mid termexam v5_solution
DOCX
Examf cs-cs141-2-17
PDF
EE5440 – Computer Architecture Course Outline
DOCX
Cs141 mid termexam2_v1answer
2018 Fa Chi 1 62265 tth syllabus
Cs141 mid termexam2_fall2017_v1.1
Cs141 mid1-2017-fall-solution2
Cs141 mid termexam v3
Cs141 mid termexam v5_solution
Examf cs-cs141-2-17
EE5440 – Computer Architecture Course Outline
Cs141 mid termexam2_v1answer

More from Fahadaio (9)

DOCX
Examf cs-cs141-2-17 solution
DOCX
Quiz2 cs141-1-17
DOCX
Quiz1 cs141-1-17
PDF
Mid1 cs141-1-17-1-final version
DOCX
Cs141 final exam-143810-v2
DOCX
Cs141 mid termexam2_v1
PDF
Cs141 mid termexam2_fall2017_v1.1_solution
DOCX
Cs141 term project
DOC
Cs141 mid termexam v1
Examf cs-cs141-2-17 solution
Quiz2 cs141-1-17
Quiz1 cs141-1-17
Mid1 cs141-1-17-1-final version
Cs141 final exam-143810-v2
Cs141 mid termexam2_v1
Cs141 mid termexam2_fall2017_v1.1_solution
Cs141 term project
Cs141 mid termexam v1
Ad

Recently uploaded (20)

PDF
Computing-Curriculum for Schools in Ghana
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PPTX
Introduction to Building Materials
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Indian roads congress 037 - 2012 Flexible pavement
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Hazard Identification & Risk Assessment .pdf
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Computing-Curriculum for Schools in Ghana
Paper A Mock Exam 9_ Attempt review.pdf.
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Introduction to Building Materials
B.Sc. DS Unit 2 Software Engineering.pptx
LDMMIA Reiki Yoga Finals Review Spring Summer
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Indian roads congress 037 - 2012 Flexible pavement
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
A powerpoint presentation on the Revised K-10 Science Shaping Paper
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Practical Manual AGRO-233 Principles and Practices of Natural Farming
202450812 BayCHI UCSC-SV 20250812 v17.pptx
AI-driven educational solutions for real-life interventions in the Philippine...
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Hazard Identification & Risk Assessment .pdf
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Ad

Cs141 mid1-2017-fall v2

  • 1. Imam University | CCIS |Vice Deaneryof Development andQuality Doc. No. 006-01-20140514 Page 1 of 5 Al Imam Mohammad Ibn Saud Islamic University College of Computer and Information Sciences Computer Science Department Course Title: Computer Programming II Course Code: CS141 Course Instructor: Dr. Adel Ammar, Dr. Ashraf Shahin, Dr. Yassin Daada, Dr. Aram Alsedrani, Mse. Ebtesam Alobood, Mse. Mai Alammar, Mse. Hessa Alawad, Mse. Shahad Alqefari, Ahmed Khorsi Exam: Midterm Exam 1 Semester: Fall 2017 Date: October 31, 2017 Duration: 1 hour Marks: 15 Privileges: ☐ Open Book ☐ Calculator Permitted ☐ Open Notes ☐ Laptop Permitted Student Name (in English): Student ID: Section No.: Instructions: 1. Answer 3 questions; there are 3 questions in 5 pages. 2. Write your name on each page of the exam paper. 3. Write your answers directly on the question sheets. Use the backs 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. Question Student Marks Question Marks
  • 2. Imam University | CCIS |Vice Deaneryof Development andQuality Doc. No. 006-01-20140514 Page 2 of 5 1 4 2 4 3 7 Total 15 Student Name (in English): __________________________________________ Student ID: _____________________ Question 1: To be answered in (10) Minutes [ ] / 4 Marks Write the implementation of the class WordType .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... ..........................................................................................................................................................
  • 3. Imam University | CCIS |Vice Deaneryof Development andQuality Doc. No. 006-01-20140514 Page 3 of 5 .......................................................................................................................................................... .......................................................................................................................................................... ..........................................................................................................................................................
  • 4. Imam University | CCIS |Vice Deaneryof Development andQuality Doc. No. 006-01-20140514 Page 4 of 5 Question 2: To be answered in (10) Minutes [ ] / 4 Marks Write the implementation of the class Word .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... ..........................................................................................................................................................
  • 5. Imam University | CCIS |Vice Deaneryof Development andQuality Doc. No. 006-01-20140514 Page 5 of 5 Question 3: To be answered in (30) Minutes [ ] / 8 Marks Write the implementation of the class Phrase: .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... .......................................................................................................................................................... ..........................................................................................................................................................