Wednesday, 18 October 2017

Contra (1988) - An Old Classic Game (Download) ~ niit post

The other day my friend reminded me of the era when we used to play old 8 bit games on an 8 bit console. The first thing that came to my mind was Contra. Although it was released in 1988, we could get hold of this game only in the early nineties..(1994 to be exact !). So I went on a CONTRA hunt and came up with the below link to the game . Whats best is its a self contained exectuable, just...
Read More »

NIIT Sem D Project on J2EE ~ niit post

This is my project submission, for NIIT Semester D. The technology to be used was J2EE (Servlets & JSPs, Java Beans). The projects name is S-Gallery and its an image management web application. It uses SQL Server 2005 for its backend and a JDBC-ODBC bridge to connect to the database.Requirements:1. Netbeans 5.52. Java Source Version is 1.4 (not 1.5 !!)3. MS SQL Server 2005 Express/Developer EditionsFinally, heres the link: DownloadPS: Included are two files(dependencies),...
Read More »

NIIT HTML Q1 ACTIVITY BOOK CHAPTER 6 ~ niit post

Q1) In the skyLight university, you need to create a web page named placements    showing the name of the companies that are coming for students' placements. IN addition, you need to    display the student placement ratio over the last six years. For this, you need    to create a bar graph, as shown in the following figure.        Prerequisite: To perform this exercise, you need to use the solution file created for exercise 2 of chapter...
Read More »

NIIT HTML Q2 ACTIVITY BOOK CHAPTER 6 CHESS ~ niit post

Q2) Advin is a web designer and has been given a task to crete a chess board.   A chess board is a combination of eight rows and eight columns. For this, he needs to create   a matrix of 8*8 in canvas. In addition, he needs to apply alternate colors on the squares in the chess   board, i.e. black and white. Help advin to perform this task.Ans2)<HTML><HEAD><canvas id="canvas" width="400" height="400" style="border:1px solid #000000;"></canvas><script...
Read More »

NIIT HTML Q3 ACTIVITY BOOK CHAPTER 6 Smiley face ~ niit post

Q3) You have been assigned a task to create a smiley on canvas. the face of the smiley     should be colored in yellow, with eye balls colored in blue, and month outline in red, as shown in the following  figure. How will you perform this task?Ans3)<!Doctype HTML><html><head></head><body><canvas id="canvas" width='500' height="500"></canvas><script>var ctc=document.getElementById("canvas");var ctx=ctc.getContext("2d");ctx.beginPath();ctx.arc(150,...
Read More »

NIIT HTML Q4 ACTIVITY BOOK CHAPTER 6 ~ niit post

Q4) Advin is a web developer and has been assigned a task to rotate an image on canvas,    as shown in the following figure.Help advin to perform this task.    Prerequisite: To perform this exercise, you need to use the image file, car.gif.Ans4)<html><head><title></title><script type="text/javascript">   var can, ctx, sprite,       x, y, rot = 0;       function init(){     ...
Read More »

NIIT HTML ACTIVITY BOOK CHAPTER 7 ~ niit post

Chapter 7 Q1)Create a link,Admission,on the SkyLight University website to display the admission calendar for the cources,Social Psychology,Botany,and Communications.The calendar appears when the user moves the mouse over the Admission Calendar link,as shown in the following figure.<!DOCTYPE html><html><head><style>a{color:orange;font-size:15px;}th{color:red;font-size:15px;}tr{color:red;font-size:15px;}a{font-size:20px;color:blue;font-weight:bold;}</style><script...
Read More »