Showing posts with label pl. Show all posts
Showing posts with label pl. Show all posts

Thursday, 17 March 2016

CPU Architecture Emulation & Sleep Function in QT

 Q:Writing a C/C++ Program to emulate CPU Architecture (Central Bus) Develop register, ALU level GUI to display results.


Language:- C++
Framework:-QT
OS:- Fedora (Linux -64 bit)

Sunday, 21 February 2016

Concave Polygon

Q:- Write a program to draw a concave polygon in C++.

Framework:- QT
Os :-Linux 64 bit (Fedora)

Code

It is a simple program which draws a polygon when the draw button is clicked. The entire program is hard coded ie.., doesn't accept user inputs

Friday, 12 February 2016

Booth's Multiplication Algorithm -GUI C++

Q: Write a program in C++ to demonstrate booth's multiplication algorithm for 8 bit numbers.

Code:-
Framework:- QT 5.5.1
Language:- C++
Operating System:- Linux 64 bit(Ubuntu 14.04 LTS)

Thursday, 21 January 2016

Wednesday, 20 January 2016

Thursday, 7 January 2016

Drawing a Line with Different Line Styles

Q:Write a program in C++ to draw a line with different styles thick, thin and dotted. Accept the start point and end point coordinates from the user.

Line Drawing using DDA and Bresenham

Q:- Write a program to draw line using DDA or Bresenham algorithm. Accept values for the 2 endpoints as well as the input for colour. Inherit a class and overload the functions for DDA and Bresenham.