Assignment No. 01
 Semester: Spring 2019 CS602: Computer Graphics

  • Cyberian's

    Spring 2019_CS602_1.doc
    Assignment No. 01
Semester: Spring 2019
    CS602: Computer Graphics

    Total Marks: 20

    Due Date:12/05/2019

    Objective
    The objective of this assignment is to;
    ♣ Learn and practice basic concepts of computer graphics like pixels, lines, text etc using Dev-C++. (You can download Dev-C++ setup from LMS)
    ♣ Learn to draw lines by using graphics library functions.
    Instructions:
    You have to do the following steps first in order to perform the task.

    1. Install Dev-C++ from your LMS.
    2. Read out the file “Add graphics in Dev cpp” thoroughly and follow the instructions in the file properly provided to you on your LMS.
      Please read the following instructions carefully before submitting assignment:
    3. You should consult the recommended books, PowerPoint slides, Handouts and video lectures to clarify your concepts.
    4. You can take any help from your provided labs.
    5. It should be clear that your assignment will not get any credit if:
      • The assignment is submitted after due date.
      • The assignment is copied from Internet or from any other student.
      • The submitted assignment does not open or file is corrupt.
      Submission
      You are required to submit your solution through LMS in zip format containing following files.
      ♣ Your Project in zipped form containing both .dev and .cpp file.
      ♣ An MS Word document containing screenshot of your program output/execution and your own Student-ID must be visible in the screenshot.

    Note: No assignment will be accepted after the due date through email in any case (load shedding, server down, internet malfunctioning etc.).
    It is recommended to upload solution file at least two days before its closing date.

    For any query about the assignment, contact at [email protected]

    TASK Marks=20
    A graphic designing company ABC needs your services to write a code for a particular design consisting of lines only. The design will be used for greeting cards printing, mug art printing and t-shirts printing in future. Following design is selected for this purpose:

    As you can see there is a rectangle in the centre of the screen. Inside the rectangle there are three horizontal lines above and below the rectangle at equal space.
    Inside these three lined set there are two patterns. First pattern is the horizontal lines equidistance from each other followed by vertical lines. Second pattern is equidistance vertical lines followed by horizontal lines. The total number of lines in both patterns are equal.
    (Hint: You can use loop for each pattern)

    Now you have to write a code for generating the above design. Your actual Student-ID should be displayed at the top left corner of the screen.

Insaf Sehat Card Live Cricket Streaming
  • 1
  • 2
  • 2
  • 3
  • 2
  • 3
  • 3
  • 2
Quiz 100% Result Quiz 100% Result
| |