65915613-CS409-Assignment.pdf

Verified academic study resource for CS409 (Ethical & Legal Issues in Computing) under the Computer Science at Virtual University of Pakistan. This PDF document (2026 Assignment & GDB Solution Guide) covers Active 2026 Semester Graded Activities spanning approximately 18 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.

Course
CS409 – Ethical & Legal Issues in Computing
Faculty
Computer Science
Format
PDF
Type
Assignment
Coverage
Active 2026 Semester Graded Activities
Tags
ASSIGNMENT

Always personalize your submission by rewriting explanations and renaming code variables. Keep Turnitin similarity under 19% and leverage the official 24-hour grace period with zero marks penalty.

What this file covers — CS409 syllabus roadmap

  1. Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
  2. Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
  3. Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
  4. Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
  5. Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
  6. Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
  7. Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
  8. Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)

Frequently asked questions

Where can I download 65915613-CS409-Assignment.pdf for free?

You can preview and download "65915613-CS409-Assignment.pdf" (CS409 PDF, ~18 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/65915613-cs409-assignment-pdf) with 100% free high-speed downloads and zero registration requirements.

What syllabus chapters and lectures are covered in this CS409 file?

This document covers Active 2026 Semester Graded Activities across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.

What is the passing criteria for CS409 under the VU 20% Two-Half Rule?

Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.

Are CS409 solved past papers and handouts verified for 2026 exams?

Yes. All CS409 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.

Inside this file

                                CS409
             Artificial Neural Networks and Fuzzy Logic

                                       Assignment.

Use MATLAB Neural Network Tool Box and Fuzzy Logic Tool Box to implement the
systems described in the following exercises and you should submit all the necessary files to
run and check the outputs in each exercise.
You may discuss the designs of these systems as a group. BUT final submission should be
your own implementation.

Part A – Artificial Neural Network

1. Design and develop an artificial neural network system to estimate the height of a normal
   person by taking the lengths of the five fingers of his or her right hand.
       Note:
        Design a neural network with supervised learning by giving the length of the
          fingers of at least 50 different people as the input and the height of the
          corresponding person as the target for the learning.
          Test the system with a input given in the training phase
          Also test the system with an input data set which was not given in the training
           phase to demonstrate the generalization of the neural network approach.

2. Design and develop a printed character recognition system to recognize the numbers 0 1 2
   3 4 5 6 7 8 9.
       Note:
        Create the image of numbers using paint or any other imaging software.

          Using methods in image processing, find a suitable input data set with unique
           features which can be used to train the neural network to recognize the numbers
           separately.
          One method is to convert the image into only two colors (black letters in white
           background) and calculate the summation of the black pixel values in each row to
           get the column matrix as the input to the neural network system. Also it is
           necessary to have the same number of features from each and every number in the
           image for the training.

                          Count the number of           Input for the neural
                          black pixels                  network

                                                    .
                                                    .
                                                    .
                                                    .
                                                    .
                                                    .
                                                    .
                                                    .

             Use the same method to create an artificial neural network to recognize the
              handwritten numbers 0 to 9.
             After training your network, check whether it can be used to recognize the
              handwritten numbers written by different people.

Part B – Fuzzy Logic

3. Design and develop a fuzzy logic system to automate the backward motion of a vehicle
   from a given starting point to a given destination.
   Note:
       Decide the control variables (inputs and outputs)
       Define the ranges for the possible values for the control variables.
       For example

                                                                        (Xe,Ye)

              θ
                                                r

                         Φ
          L
                  (x,y)

                     v

       Inputs
                r – Straight line distance from the current position of the vehicle to the
                   destination. (Range: 0 – 200 m)

                Φ – Orientation of the vehicle with respect to the line joining the current
                   position and the destination (Range: -180˚ to +180˚)

       Output
                θ – Steering angle (Range: -60˚ to 60˚).

          IMPORTANT: Given above is only one way of considering the control variables.
           You may use any other suitable measures as long as it can be used to control the
           movement of the vehicle into the destination.

          Develop a fuzzy logic control system according to the selected control variables
           and their working ranges.

          Test the output of the control system for several current positions and orientations.

          Additionally, try to implement a simulation to demonstrate the performance of
           your controller. Simulations can plot on a MATLAB figure or it can be done using
           OpenGL with Visual C++ (or any other preferable language).

                   Here you will need to find the next position of the rear end point of the
                    vehicle since it is moving backward. For this, following vehicle kinematics
                    equations can be used (According to the above figure).
                        i. change in the orientation (dΦ) due to the steering angle θ.
                                      v.dt. sin( )
                               d 
                                            L
                       ii. change in the position (x,y) in the next position (x’,y’)
                                                       
                               x   x  v.dt. cos   . cos( )
                                                       2
                                                       
                               y   y  v.dt. sin    . cos( )
                                                       2

                       Note that these equations must be changed according to the way
                       that you select the control variables.

4. Develop a fuzzy logic system to control the functionality of an automatic water boiler unit
   as shown in figure 1. The manufacturer specifies the height of the water of the tank to be
   4 meters for the heater to perform well. Having low level of water could cause the heater
   to be burnt out while higher levels make it difficult for the heater to heat appropriately.

More CS409 files

All CS409 files · Midterm Prep 2026 · MCQs Bank