Question about Sun Java Programming Language (cdj-275)

1 Answer

Adding and deleting an element in a stack and queue

In adding into stack top is the current top of the stack and n is its maximum size
the pseudocode is

begin
if top= n then stackfull;
top:=top+1;
stack(top) := item;
end:


in the deletion of stack remove top element from the stack stack and put it in the item
the pseudocode is

begin
if top = 0 then stackempty;
item := stack(top);
top := top-1;
end;

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

Yes it is correct.

Posted on Feb 17, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Write a pseudocode declaration for a string array initialized with the following strings einstein newton


the nice thing about pseudocode is that there's many ways to do it
E.g 1;
String str = new Array["einstein',"newton"];
E.g 2;
myStringArray = new Array{'einstein','newton'}

BOTH of the above are correct, because they are pseudocode

Oct 19, 2014 | Computers & Internet

1 Answer

While i printing the following error is showing my computer " Click here to open the print queue, and then for assitance, click troubleshoot on the help menu


check how many 1020 drivers are added in your system. if its more than one un install the driver and reload then check.If one driver present check print queue,delete pending queue then try...also check for "VIRUS"..best of luck..

Sep 06, 2011 | HP LaserJet 1020 Printer

1 Answer

A document was sent to the 5110cn color printer. it is a full color duakl sided brochure. Keeps trying to print but errors out before loading all images so all that gets printed is one or two of the...


The reaason it keeps trying to print is because it's in the print queue on your network.
Have whoever sent this to the printer open the print queue and delete it.
Only the originator or the print queue admin can delete the job

Jan 06, 2011 | Dell 5110cn Laser Printer

2 Answers

How do I turn on my RAM disk? (Dell 3100cn)


the print job may be too large for the available printer memory.

Your choices are one of the following:

Press to clear the message, cancel the current print job, and conduct the next print job, if any.

· Press Cancel to cancel the current print job.

· Press Menu to open the Stored Print and delete the current job.

To avoid this error in the future, do the following:

· Reduce the number of print pages such as splitting the print data.

· Increase free memory space by deleting unnecessary data in the RAM disk.

As for the RAM disk:
When you send a job to the printer, you can specify in the driver that you want the printer to hold the job in memory.

Whenyou are ready to print the job, you must go to the printer and use theoperator panel menus to identify which job in the memory you want toprint. You can use this function to print a confidential job (SecurePrint), or verify one copy before printing additional copies (ProofPrint).

NOTE: The printer holds the job until you delete it byusing the operator panel or you turn off the printer. (This is the RAMdisk)

NOTE: Print and Hold functions require a minimum of 320 MBavailable printer memory. Also, you need to configure the RAM disksettings on either the OPERATOR PANEL OR THE PRINTER DRIVER.

NOTE: Depending on the documents, its job may be too big for the available memory. In this case, an error occurs.
RAM disk is an option for that printer, but most users do not have thatoption, and if you accessed the menu for the 3100 on most of themachines in use you would receive that same error.

Although the printer itself shows " ready to print", this does not meanthat your computer is communicating with the printer. In Fact, thatmessage would show up even if you did not have it attached to anycomputer, as long as it was turned on and passed the self test.

More then likely the problem lies within the computer, NOT the printer.

To test the printers functionality, try printing a menu item, from the"reports" menu. Select either the printer settings, or the PCL Fontsreport. When selected, the printer should print which ever report youselected.

One thing you may want to check is to see if there are any print jobs "locked up " in the print spooler on your computer, and also make surethat the printer is not set to "work offline".

To do this, open the control panel, go to your "printers" folder, then double click on your printer.
This will open up the printer information for that printer. If there are any jobs in the print queue, they will show up here.

if there are any print jobs stacked up, usually it is the top job thathad a problem and is "stuck". This will prevent any job sent after thatto be held, pending release of that one.

single click the top job and either restart the job, or delete it.

Also, make sure that the printer is not set to work offline by clickingon "printer" from the menu and ensure that work offline is not checked.

Take this link and print it out. It will help you later when you get "other" error messages.
http://support.dell.com/support/edocs/sy...

Sep 18, 2009 | Dell Office Equipment & Supplies

1 Answer

Hp color LaserJet 3700 jams 70# uncoated letterhead stock


Hi manitou344:
Here is some info that might help you.

Table 1-8. Tray 1 paper sizes1
Media Dimensions Weight or thickness Capacity
Minimum size paper 76 by 127 mm
(3 by 5 in)
60 to 163 g/m2
(16 to 43 lb bond)
100 sheets
(75 g/m2; 20 lb bond)
Maximum size paper 216 by 356 mm
(8.5 by 14 in)
60 to 163 g/m2
(16 to 43 lb bond)
100 sheets
(75 g/m2; 20 lb bond)
Minimum size glossy
paper
76 by 127 mm
(3 by 5 in)
75 to 120 g/m2
(20 to 32 lb bond)
Maximum stack
height: 12 mm (0.47 in)
Maximum size glossy
paper
216 by 356 mm
(8.5 by 14 in)
75 to 120 g/m2
(20 to 32 lb bond)
Maximum stack
height: 12 mm (0.47 in)
Minimum size
transparencies2
76 by 127 mm
(3 by 5 in)
0.12 to 0.13 mm thick
(4.7 to 5 mils thick)
50 sheets
Maximum size
transparencies2
216 by 356 mm
(8.5 by 14 in)
0.12 to 0.13 mm thick
(4.7 to 5 mils thick)
50 sheets
Minimum size
envelopes
76 by 127 mm
(3 by 5 in)
60 to 90 g/m2
(16 to 24 lb bond)
10 sheets
Maximum size
envelopes
216 by 356 mm
(8.5 by 14 in)
60 to 90 g/m2
(16 to 24 lb bond)
10 sheets
Minimum size label 76 by 127 mm
(3 by 5 in)
75 to 163 g/m2
(20 to 43 lb bond)
50 sheets
Maximum size label 216 by 356 mm
(8.5 by 14 in)
75 to 163 g/m2
(20 to 43 lb bond)
50 sheets
Minimum size
cardstock
76 by 127 mm
(3 by 5 in)
135 to 216 g/m2
(43 to 43 lb bond)
50 sheets
Maximum size
cardstock
216 by 356 mm
(8.5 by 14 in)
135 to 216 g/m2
(43 to 43 lb bond)
50 sheets
This printer can
detect transparencies that were not designed for use with HP Color LaserJet printers.

Jun 30, 2009 | HP Office Equipment & Supplies

1 Answer

Have copies in queue and it won't print any just keeps adding them to queue.


Open printer que and delete all to be printed, the uninstall printer and reinstall.

Jun 26, 2009 | HP Office Equipment & Supplies

5 Answers

Source code for stack using arrays in c++


stack in c using arrays
/* Program of stack using array*/
#include

Dec 05, 2008 | Computers & Internet

1 Answer

How do I scan a bunch of originals from the tray and get 1 file for each page?


Loading originals to scan
Use these instructions to load originals into your device for scanning. For the best quality
scans, use the flatbed scanner. See Selecting media for the automatic document feeder
(ADF) for guidelines on choosing original documents for scanning.
Loading originals onto the flatbed scanner
1. Make sure that the automatic document feeder (ADF) input tray is free of media.
2. Lift the flatbed scanner lid.
3. Place the original document face-down on the flatbed scanner with the top, left corner of
the document at the lower-right corner of the glass.
4. Gently close the lid.
5. The document is ready to be scanned.
CAUTION To prevent damaging the device, do not allow the scanner lid to fall onto the flatbed scanner
surface. Always close the scanner lid when the device is not in use.
Loading originals into the automatic document feeder (ADF)
input tray
Note The ADF capacity is up to 50 sheets of 75 g/m2 (20 lb) media (depending on the thickness of
the media), or fewer sheets if the stack fills the ADF.
The minimum size for media in the ADF is 127 by 127 mm (5 by 5 inches). For smaller sizes
use the flatbed scanner. The maximum size for media in the ADF is 215.9 by 381 mm (8.5 by
15 inches).
1. Make sure that the flatbed scanner contains no media.
2. Close the flatbed scanner cover and put the top end of the stack of originals into the ADF
input tray, with the media stack face-up and the first page to be scanned on top of the
stack.
3. Slide the stack into the ADF input tray until it does not move any farther.
If this helps you, let the Boss, FixYa.com Know...

May 13, 2008 | HP LaserJet 3030 All-In-One Printer

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

327 people viewed this question

Ask a Question

Usually answered in minutes!

Top Sun Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18381 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Cosma Papouis
Cosma Papouis

Level 3 Expert

409 Answers

Are you a Sun Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...