An Chaatroom in Java Programing Language which get message from the Client and the Server send the same message in capitalized form.

You have to just make two classes  in Java Environment 1st TCPClient and 2nd TCPServer.

In TCPClient you have to write this coding.

import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.InputStreamReader;
import java.net.Socket;


public class TCPClient {
Posted by Unknown On Friday, May 31, 2013 No comments READ FULL POST

A JAVA program to show a patterns of stars on the screen.

First make a java project and then make class of name Star and then write down this whole code.

public class Star {


public static void main(String[] args) {
for(int i=1;i<=3;i++)
{
for(int j=3;j>i;j--)
{
Posted by Unknown On Sunday, May 26, 2013 2 comments READ FULL POST
A simple Global Warming Game in Java.

import javax.swing.*;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class Main {
public static void main(String[] args){
JFrame Window = new JFrame("Global Warming Game");
Posted by Unknown On Sunday, May 26, 2013 1 comment READ FULL POST
// A C++ program for performing different Operations.

#include<iostream.h>
#include<conio.h>

void main()
{
int x=10;
int y=x-8;

cout<<endl<<" X = "<<x;
cout<<endl<<" Y = "<<y;
Posted by Unknown On Friday, May 24, 2013 No comments READ FULL POST
An Addition program in Java Programing Language.
Write this program in  Java environment and run it.


import javax.swing.JOptionPane;


public class Addition {

public static void main(String[] args) {
String firstnumber;
String secondnumber;
int number1;
int number2;
int sum;
Posted by Unknown On Monday, May 20, 2013 No comments READ FULL POST

CSE5280 Computer Graphics
Chapter #2 Solutions

2-1 List the operating characteristics for the following display technologies: raster refresh systems, vector refresh systems, plasma panels, and LCD's.
answer: Read Sections 2-1 through sections 2-3 in your textbook. From reading, basically, you need to understand the following concepts in these sections. These include, refresh systems, frame (display) buffer, raster displays, resolution, refresh display files, passive matrix, active matrix, and run-length encoding.
2-4 Consider two raster systems with the resolutions of 640x480, 1280x1024, and 2560x2048.
a) What size frame buffer (in butes) is needed for each of these systems to store 12 bits/pixel? How much storage is required for each system if 24 bits per pixel are to be stored?
Frame-buffer size for each of the systems is
640 × 480 × 12 bits ÷ 8 bits per byte = 450 KB
1280 × 1024 × 12 bits ÷ 8 bits per byte = 1920 KB
2560 × 2048 × 12 bits ÷ 8 bits per byte = 7680 KB
For 24 bits of storage per pixel, each of the above values is doubled.

Posted by Unknown On Saturday, May 18, 2013 No comments READ FULL POST


1-List the operating characteristics for the following display technologies: Raster refresh systems, vector refresh systems, plasma panels and LCDs.

Raster Refresh systems:
Electron beam is swept across the screen, one row at time, from top to bottom. Each row is referred to as a scan line. As the electron beam moves across a scan line, the beam intensity turns on and off to create a pattern of illuminated spots.
Vector Refresh Systems:
The system cycles through the set of commands in the display file, drawing each component line in turn. After all line drawing commands have been processed, the system cycles back to the first command in the list.
Plasma Panels:
Constructed by filling the region between two glass panels with a mixture of gases that usually includes neon, a series of vertical conducting ribbons is placed on one gas panel and a set of horizontal conducting ribbons is built into the other glass panel.
LCDs:
Operating by producing a picture by passing polarized light from the surroundings or from an internal light source through a liquid-crystal material that can be aligned to either block or transmit the light.

Posted by Unknown On Saturday, May 18, 2013 2 comments READ FULL POST

Some answers of qustions in P.82,P.83


2-1) List the operating characteristics for the following display technologies: raster refresh systems, vector refresh systems, plasma panels, and LCDs.


1)Raster Refresh system: in which the electronic beam makes the screen a number of lines, and draw each one and this is called (scan lines) and the picture is refreshed every interval of time from the refresh buffer " frame buffer".
It's characteristics.
a)The pixels in the screen aren't related. b)Fast in loading image. c)when magnifying, the quality of the screen decreases.
2)Vector Refresh system: a)The pixels in the screen are related by function ex: function of lines. b)slow in loading because t need some processing in its function. c)when magnifying the quality of the image is increase.
3)Plasma panels: a)new technology (10/1/2005). b)the screen is divided into little small cells. c)have high resolution although the screen size may be small.
Posted by Unknown On Saturday, May 18, 2013 2 comments READ FULL POST

In this Animation I make a car running on a road , and a children coming from a school is also in it. The children stops at the traffic signal and wait untill the signal becomes red. And when the signal becomes Red the walk through zebra crossing. And then again traffic signal turns into yellow and then green on the green signal the car again start moving on the road.


#include<dos.h>
#include<iostream.h>
#include <conio.h>
#include<stdlib.h>
#include<graphics.h>


void main()
{
Posted by Unknown On Tuesday, May 14, 2013 No comments READ FULL POST
  • RSS
  • Delicious
  • Digg
  • Facebook
  • Twitter
  • Linkedin
  • Youtube

Like us

    as

    Contact Form

    Name

    Email *

    Message *