Sign In
Not register? Register Now!
Pages:
2 pages/≈550 words
Sources:
3 Sources
Level:
APA
Subject:
IT & Computer Science
Type:
Other (Not Listed)
Language:
English (U.S.)
Document:
MS Word
Date:
Total cost:
$ 10.8
Topic:

Answering Programming Questions I.E. Practical Coding (Other (Not Listed) Sample)

Instructions:

Answering programming questions i.e. practical coding

source..
Content:

Computer Science Assignment
[Student Name Here]
[Institution’s Name Here]
[Professor’s Name Here]
[Date Here]
Question 1
Design a form for a publishing house called foot bar that allows the books to be ordered via the Internet. The form should include the customer’s name, address, phone no. and Book’s title, author and edition. Payment has to be made in cash on delivery so no credit card information is needed.
131445063501295400441960Book Title:
Author:
1285875698600Edition:
1285875-635Customer’s Name:
12954008890Address:
center4222750015525744318000013049258890Phone Number:
263715518415RESET00RESET15335258255SUBMIT00SUBMIT
New Page 1

FORM TO PURCHASE BOOK
ONLINE





Book Title
:
       
; &
nbsp;      


Author
:   
    
; &
nbsp;       &nbs
p; 
   


Edition
:        &n
bsp;&nbs
p;        &
nbsp;&nb
sp; 


Customer's Name :   
T NAME
="NAME2" TYPE = "TEXT" SIZE="50">

Address 
:        &n
bsp;&nbs
p;        


Phone Number 
:       

PUT NAME
="NAME4" TYPE = "TEXT" SIZE="18">



webbot-
action="--WEBBOT-SELF--"
onSubmit="location.href='_derived/nortbots.htm';ret
urn
false;" WEBBOT-onSubmit>
        
 &n
bsp;        
; &
nbsp;       &nbs
p; 
        &nb
sp; 
;

name="B1">       
; &
nbsp;


 
Question 2
Write a CGI program that displays a count of how many times a browser on each computer has contacted the server
echo Content -type: text /html
echo
N=$QUERY_STRING
Echo "< HTML >"
Case "x$N" in
x) N = 1
Echo "This is the initial page.< BR >< BR >"
; ;
X[0-9]*) N = 'expr$n + 1'
Echo "you have displayed this page $N times.< BR >< BR >
; ;
*) echo "The URL you used is inval id < /HTML >"
exi t 0
; ;
esac
echo "< A HREF=\ht tp: / /$SERVER_NAME$SCRIPT_NAME?$N\ >"
echo " Click here to refresh the page. < / A>"
Question 3
Write an applet that sets the background colour to cyan and foreground colour to red and displays a message that illustrates the order in which various applet methods are called when an applet starts up. For example: inside init()…inside start()…
import java.awt.*
import java.applet.*
public class Method _ order Extends Applet
{
String msg;
/ /Sets the background and foreground color. Public void init( )
{
setBackground(Color.cyan);
setForeground(Color.red);
msg = "inside init 0 - - ";
}
/ / Initialize the string to be displayed.
public void init ( )
{
msg = " inside start O - - ";
}
lSets the background and foreground color.
public void paint(Graphics g)
{
msg = " inside pain...
Get the Whole Paper!
Not exactly what you need?
Do you need a custom essay? Order right now:

Other Topics:

  • The Type Of Creative AI Idea: Super Smart Machine
    Description: Artificial Intelligence idea and thus this sample provides details about the Artificial intelligence idea and how it works, its advantages and disadvantages...
    1 page/≈550 words| 1 Source | APA | IT & Computer Science | Other (Not Listed) |
  • Active Comparison of Java and Python Programming Language
    Description: Python is a strong and powerful modern day computer programming language, it is seen to draw close similarities with earlier programming languages...
    7 pages/≈1925 words| 7 Sources | APA | IT & Computer Science | Other (Not Listed) |
  • A Project Design Proposal On A Grocery Store System
    Description: Provide a brief but comprehensive design of an expressive interface that generally will offer customers the ability to carry out their grocery shopping online...
    2 pages/≈550 words| 5 Sources | APA | IT & Computer Science | Other (Not Listed) |
Need a Custom Essay Written?
First time 15% Discount!