Simple Array Question - Help Needed!
Hey people,
I need a line of code that gets the maximum value out of an array.
the array is called LEVELS and contains values [1, 3, 4, 17, 3, 2, 4]. I need a line of code that creates a new variable called MAXLEVEL and finds the largest value within the array.
Thanks,
sean :)
Create a variable. Initialize it to the lowest possible value, like say Integer.MIN_VALUE.
Loop through your array.
For each element, see if it's greater than the current value in the variable. If it is, use it.
When you reach the end of the array, the variable now holds the max value.
How did you think you were going to do it?
Similar Messages
-
About Java 2 opaque font color question, help needed!
About Java 2 opaque font color question, help needed!
I was trying to test opaque font (the string has a foreground color and a background color), but i can't find the method for doing that.
i can change foreground by Graphics2D.setPaint(Color.black).
Anybody know how to change the background of the string?
Thanks!Hi. The way I'd do it would be to use the font metrics to find the length of a string and draw a rectangle and then drawstring over the rectangle. If you want an example, I can post it although I suspect theres a better way.
-
Simple java applet help needed
hi, im having trouble with an applet im developing for a project.
i have developed an applet with asks the user for simple information( name,address and phone) through textfields, i wish for the applet to store this information in an array when an add button below the textfeilds is pressed.
client array[];
array=new client[];//needs to be an infinate array!
I have created the client class with all the set and get methods plus constructors needed but i dont know how to take the text typed into the textfields by the user and store them in the array.
i also need to save this info to a file and be able to load it back into the applet.
Could some please help! Thank you for your time.Better maybe redefine the idea using an data structure :
public class client{
private char name[];
private char address[];
private int phone;
public class vector_clients{
private client vect[];
// methods for vect[]
What is your opinion about ??? -
P35 Platinum simple question help needed!
Helo......
Take a look into this picture:
http://www.subir-imagenes.com/imagenes/de5066b3c6.jpg
mirror: http://img514.imageshack.us/my.php?image=p35platinumep8.jpg
screws holes: http://www.hardwaresecrets.com/fullimage.php?image=7420
I have seen this 2 holes placed at copper passive cooler system, just besides the memory, and at a height allowing to put a 80mm fan (I guess but not tried) just almost "touching" memory modules....
For me, it would be great since my Q6600 CPU use to be at nearly 50º with zalman 9700, and motherboard gives 45º usually...... memory is very hot... 4 modules of 2.0v kingstom hyperx 4-4-4-12 for 4Gbs........
Someone tried to put there a fan????????
Are these holes specially there to do that way??????
If you put a fan there, you would do it extracting air from memory modules, or just pushing air to them?????
Thanks!Quote from: Maesus on 26-September-07, 04:18:31
2 screw holes? got picture?
isn't those 2 screw holes to mount the extended heatsink beside the DIMM?
mmm.......
I refer to this "supposed to be" screw holes, as they seems it to me at least...
http://img170.imageshack.us/my.php?image=screwholesef4.jpg
You talk about a "extended heatsink beside DIMM"..... I cannot find any documentation about an extended heatsink anywhere (maybe a bit blind, so, if you were so kind, can you please tell me something about it or maybe give a simple link for it?? I wish to refrigerate better my memory modules and chipset with my zalman 9700, and this holes just over there without any purpose (for me) are getting me crazy...
Also I tried to give airflow to the memory modules through an 80mm fan situated on the thermaltake shark chasis (Mc Giver wouldn´t do it better) and the result is Zalman 9700 is taking all the air from the fresh airflow of the new fan besides, resulting in cooler CPU, but hotter memory and chipset.... pfffffffffffffffff............ -
Simple question, help needed? Finder icons
In finder have lost the music folder on the left sidbar(the one beside 'pictures' and 'movies' etc..) how do i get this folder back with the nice default music icon?
Ribbs,
I should have paid more attention your original question.
Sorry for pointing out the obvious.
Removal and replacement of the Music Folder from the Sidebar on my system always results in the Treble Cleff icon representing the Music Folder. Seems like there might be some kind of cache or plist corruption problem with your system.
I would advise that you read, Maintaining Mac OS X and Running the Mac OS X maintenance scripts by Dr. Smoke for some troubleshooting tips.
;~) -
Adobe Lightroom 4 - Some Questions / Help Needed
Hi everyone.
After advice from several experts, I've just purchased Adobe Lightroom 4. I've already got Photoshop CS5, but I was looking for something proper to organise my photos, plus I found Lightroom easier to do the sort of editing I am wanting to do. Now, I only really use photoshop for things like colour pops, or really in-depth editing. Anyway, I'm loving Lightroom so far, but there is some stuff I'm not very sure of, so I'd appreciate some help
1. Organising
Firstly, I'm not really sure how to organise. At the moment, I've just got lots of folders with random events in My Pictures on W7, so I might have a folder called April 11, which contains photos from that month but that might have been a wedding or an easter holiday or both. So it doesn't really work. \
I understand in Lightroom what catalogs are. But I know enough to know that I don't want to group mine into those, its getting too complicated. What I don't know though is the difference between a collection and a folder. Basically, I'm wanting to reimport and reorganise all my photos, so I want to put them into "events" as such like you can do on iPhoto on a mac, so I would have "France Summer Holiday 11" for example, or "Mia's Wedding". I'm not really sure on the best way to do this ...?
2. Editing
I've played around quite a bit so far, and I really like what I've seen. On a lot of photos, I've made a lot of changes. But from what I can see, these changes are stored merely in Lightroom itself. For example, at the moment I'm importing photos from my external disk into Lightroom, which then saves them in C://My Pictures/Lightroom/Pictures . When I go look at these photos in windows explorer which I know I have edited, it doesn't show any of the changes or editing I've done on them. Now I realise this is me being stupid, but why doesn't it? Supposing I then want to email that photo to a friend that I have edited? How would I do that? I don't want to have to open lightroom and export every single photo I edit? There must be a simpler way?
Likewise for backing up, because all my files are in subfolders within C:// My pictures / Lightroom / Pictures, to back up I was simply going to set up windows to copy that latter folder onto my external HDD everytime I plugged it in. This would be pointless however if it isn't physically overwriting the original photo with my edited version?
3. Editing 2
Something else I like to do is make lots of different edits to the same photo. For example, at the moment I'm editing a photo of a pier at night. I spent ages adjusting colours and lighting and so on, and now it looks great. But I would also like to save a copy of that photo with the "old age photo" effect preset on. Is this possible? and how do I do it? Other than obviously importing a duplicate?
4. & 5. & 6 - Misc:
4. Simple question - how do I add tags, keywords or comments if I haven't done it on import?
5. My camera doesn't have built in GPS. Is it possible for me to manually geotag photos (in a batch, say for a Summer Holiday to NY), could I manually add a geotag for all these photos?
6. I also forgot to add copyright information on import for some, is it possible to do this after import and how?
7. I normally shoot in JPEG. I probably shoot shoot in RAW as everyone tells me to do so. Are there any significant advantages in terms of quality, and for editing with?
Thanks for any help given. I appreciate this is a lot of questions, but I could really use the advice.Hi William,
1. Organising
Firstly, I'm not really sure how to organise. At the moment, I've just got lots of folders with random events in My Pictures on W7, so I might have a folder called April 11, which contains photos from that month but that might have been a wedding or an easter holiday or both. So it doesn't really work. \
I understand in Lightroom what catalogs are. But I know enough to know that I don't want to group mine into those, its getting too complicated. What I don't know though is the difference between a collection and a folder. Basically, I'm wanting to reimport and reorganise all my photos, so I want to put them into "events" as such like you can do on iPhoto on a mac, so I would have "France Summer Holiday 11" for example, or "Mia's Wedding". I'm not really sure on the best way to do this ...?
I am not so sure if you understand *catalogs*.
You need a catalog, exactly 1 in my opinion. A catalog is a database. The Lightroom database, where records about your images are stored, including the pointers to your images, which are not inside a catalog! LR backups just does the backup of the catalog (i.e. a file ending .lrcat). You need to take care separately that your real images are backed up !
Inside your LR database the best way to organize is via collections - this will give you what you want with "France summer holiday 11" etc.
Folders are relatively unimportant, just storage buckets. They should be *handy portions*, I would prefer them with below 3000 images each, as there currently some bugs to those bigger ones.
Before you start with LR, you can organize your pictures in Mac Finder / WindowsExplorer.
Or you could do it with the help of LR, by copying your images over during import into the destination folders (and deleting today's folders afterwards after having verified that everything is fine).
A simple date-based structure will do, I'd recommend a root parent folder like "LR images", underneath one folder per year (\2010\, \2011\, \2012\...) and underneath them either
just one folder per month (LR can auto-create them for you)
or you create the folders in import dialog as e.g. "YYYY-MM-DD description of shoot", to have a mini-diary overview also in your OS.
Apart from that you create collections, either *dumb ones*, where you drag images into, or smart ones, where you specify criteria according to which they get auto-filled.
2. Editing
I've played around quite a bit so far, and I really like what I've seen. On a lot of photos, I've made a lot of changes. But from what I can see, these changes are stored merely in Lightroom itself. For example, at the moment I'm importing photos from my external disk into Lightroom, which then saves them in C://My Pictures/Lightroom/Pictures . When I go look at these photos in windows explorer which I know I have edited, it doesn't show any of the changes or editing I've done on them. Now I realise this is me being stupid, but why doesn't it? Supposing I then want to email that photo to a friend that I have edited? How would I do that? I don't want to have to open lightroom and export every single photo I edit? There must be a simpler way?
Likewise for backing up, because all my files are in subfolders within C:// My pictures / Lightroom / Pictures, to back up I was simply going to set up windows to copy that latter folder onto my external HDD everytime I plugged it in. This would be pointless however if it isn't physically overwriting the original photo with my edited version?
LR will never overwrite your original photos.
You can save most of the catalog content into the xmp-part of the original photo, which is either a sidecar-file (.xmp) or part of the file format, like for DNG, TIFF, PSD, JPG. To do so you select the image in LR and hit <ctrl> s. Or you set it up for continuous update, which creates a lot of operations while you play back and forth in develop.
I do that on my own, typically twice per file: once I am done with develop, once I am done with keywording and other metadata update.
LR contains records about your images, i.e. a set of instructions how they are to be interpreted. That is all.
So of course you need LR to export the result of these instructions, which is actually pretty quick.
To backup your images you need to do that just once, plus you backup your LR catalog. Or if you save xmp to the files, you can do another backup once xmp is ready.
I would not consider this pointless. You just have to think that there are 2 places with data for your images: the images themselves and a database with interpretation instructions.
3. Editing 2
Something else I like to do is make lots of different edits to the same photo. For example, at the moment I'm editing a photo of a pier at night. I spent ages adjusting colours and lighting and so on, and now it looks great. But I would also like to save a copy of that photo with the "old age photo" effect preset on. Is this possible? and how do I do it? Other than obviously importing a duplicate?
Yes, this is one of LR's beauties: you create a so-called *virtual copy*, which is just a 2nd record for the same original image file with different interpretation settings, like black-and-white, a different crop size, different development etc. You can have as many virtual copies as you like, and you'll see them as additional thumbnails.
Virtual copies are not saveable into xmp, though. There is another concept which is saveable into xmp: snapshots. but these are different states in develop history, and you do not see outside develop module that you have several.
If you export virtual copies e.g. to jpg one file per virutal copy will be created.
4. & 5. & 6 - Misc:
4. Simple question - how do I add tags, keywords or comments if I haven't done it on import?
5. My camera doesn't have built in GPS. Is it possible for me to manually geotag photos (in a batch, say for a Summer Holiday to NY), could I manually add a geotag for all these photos?
6. I also forgot to add copyright information on import for some, is it possible to do this after import and how?
7. I normally shoot in JPEG. I probably shoot shoot in RAW as everyone tells me to do so. Are there any significant advantages in terms of quality, and for editing with?
Thanks for any help given. I appreciate this is a lot of questions, but I could really use the advice.
ad 4: you use the library module, metadata panel to enter.
ad 5: you use the map module. Either you manually drop your images on a map, or you have a separate GPS track to load and have LR assign via matching time-stamps.
ad 6: like 4
ad 7: You don't need JPG from your camera, you can achieve better results viy LR from RAW. Yes, there are significant advantages as to editing headroom.
Overall, may I suggest my favorite learning material for LR? First watch Julieanne's Tutorial Videos.
Then go play and use Victoria Bampton's eBook or paper copy of her "Missing FAQs to LR4": http://www.lightroomqueen.com/books/adobe-lightroom-4-missing-faq/
Have fun,
Cornelia -
Hi All ,
I am bit new to BI Publisher,I have done plenty of Oracle reports 6i and 10g.
Have read the BIPublisher Guide as well,but could not understand a few points.
suppose I want to build a very very simple report like
Sysdate Sysdate Sysdate
16-Oct-08 16-Oct-08 16-Oct-08
step 1) I will write the following query in the Data Model and store/save it.
select sysdate ,sysdate,sysdate from dual.
Step 2) In the layout model I want to use .rtf layout .So in the MS word .rdf document I create /insert
a table with 2 rows and 3 columns,where 1st row will have Sysdate in all 3 columns as header.
Now to fetch date 3times(the data) from the above query,WHAT is going to be my next steps ????
I am not able to understand the link between the layout(.rtf document) and XML document.
Please can someone reply to this question and let me know ?
Regards
SunnyI added a useless parameter just so you could see where parms should go...
Datatemplate:
<dataTemplate name="A_SIMPLE_REPORT">
<properties>
<property name="xml_tag_case" value="upper"/>
</properties>
<parameters>
<parameter name="P_PARM" dataType="character"/>
</parameters>
<dataQuery>
<sqlStatement name="QUERYNAME">
<![CDATA[
select sysdate SYSDATE1
, sysdate SYSDATE2
, sysdate SYSDATE3
from dual
where 'XYZ' = nvl(:P_PARM, 'XYZ')
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_UPPERGROUP" dataType="varchar2" source="QUERYNAME">
<element name="SYSDATE1" dataType="varchar2" value="SYSDATE1"/>
<element name="SYSDATE2" dataType="varchar2" value="SYSDATE2"/>
<element name="SYSDATE3" dataType="varchar2" value="SYSDATE3"/>
</group>
</dataStructure>
<dataTrigger name="afterReportTrigger" source="A_SIMPLE_REPORT.afterreport()"/>
</dataTemplate>
XML OUPUT:
<?xml version="1.0" encoding="UTF-8" ?>
<A_SIMPLE_REPORT>
<LIST_G_UPPERGROUP>
<G_UPPERGROUP>
<SYSDATE1>2008-10-16T18:20:19.000-05:00</SYSDATE1>
<SYSDATE2>2008-10-16T18:20:19.000-05:00</SYSDATE2>
<SYSDATE3>2008-10-16T18:20:19.000-05:00</SYSDATE3>
</G_UPPERGROUP>
</LIST_G_UPPERGROUP>
</A_SIMPLE_REPORT>
Hope this helps,
Scott
PS If you have been doing reports for as long as you say you prob. know this already...but I NEVER* trust Oracle to convert my dates. I convert them all to char, pass them and convert them on "the other side" (if needed). But, you can change the data type to date if you feel brave, but don't say I didn't warn you. ;-) -
Multi-part form problem (array & session help needed)
I have a multi-part form that consists of 3 pages(forms) which each save data to the session. When the final form is complete, I insert the session variables to the DB via a FINISH button.
I now want to take another step. Page 2 of this multi-part form allows users to add "items". Presently, they can add only 1 item, and move the page 3 by hitting a next button. I would like to add a "Add another item" button that goes to the page 2 form again, allowing more items to be entered. I believe I need an array/table to do this, but don't know how I might do this in the session.
Is it possible to create an array in the session? If so, how? If not, how might I approach this?
I am trying to avoid inserting to the database (a remote db) until after a "preview" page following the form.
Any ideas? Thx in advance.Hi,
This forum thread may help you:
http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=50623
Thanks,
Creator Team. -
Hi all,
Here's my dilemma:
I've got this simple html page that I've made with
dreamweaver CS3. On the starting page I want to put a section
called "NEWS", under which there would be essentially a texfield
with the news. Now, I don't want to put the news text in the html
code. Rather, I'd like the code to somehow take this text from a
separate text file which I could edit at will and simply overwrite
on the host server so that changes are seen in browsers.
I don't need a real CMS (besides, CMS is way over my head).
Just this one text field. I've tried with the textfield/text
area/HTML object/etc. in the 'insert' tool but none worked. Can
this be done at all? Appreciate any help.macioo1 wrote:
> Now, I don't want to put the news text in
> the html code. Rather, I'd like the code to somehow take
this text from a
> separate text file which I could edit at will and simply
overwrite on the host
> server so that changes are seen in browsers.
You can do this with a server-side include. The first thing
you need to
do is to find out whether your hosting company has enabled
server-side
includes, or if you have access to a server-side language
such as ASP or
PHP. The way that you create a server-side include is
slightly different
in each type of setup.
When you have found what your remote server supports, someone
can give
you further instructions.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Stupid Java Question (Help Needed!!!)
I have a piece of Java Code that dynamically builds a SQL statement (including VARCHAR2 columns). Oracle gives an error if my string has a single quote in it. I need to replace each single quote with two single quotes in Java, i.e. I need a Java equivalent of PL/SQL REPLACE function.
Java str.replace only replaces an individual character (see below).
String l_str = "O'Hara";
String l_str2 = l_str.replace('\'', '\'');
I need to replace "O'Hara" with "O''Hara". Any help is appreciatedPlease don't post same question on both forums.
Please find the answer at:
Re: ORA-09004 -
Stupid Question Help needed....
Hi Folks...
I have a very Stupid Question....
but i think you Folks here can help me Quick...
Here is what i want to do...
01 class ourCar {
02
03 public String color;
04
05 public void PrintValue(String YourValue){
06 System.out.println(this.YourValue );
07
08 }
09 }
10
11 public class myApp {
12 public static void main (String[] args) {
13
14 ourCar Car1;
15 Car1 = new ourCar();
16
17 Car1.color = "red";
18 Car1.PrintValue("color");
19 }
20 }
So the Compiling Problem starts at 05 it seems i cant
get Parameter Names with Strings... so what i want to do is...
type
Car1.PrintValue("color");
and it should print out red
i Know i could write
System.out.println(car1.color);
But i want to do it the other way...
a other thing would be to make
myVar = "car1.color"
and then run
System.out.println(myVar);
but these is also not working...
any idears?
greetings from munich
peterbut where is the Thinking Error i have?
KJKrum wrote i should not use the language this way...
what would be the right way for doing a job like this?You have a very simple example. Reflection which is what both threads suggest as a solution is complex and should be used with caution because of the performance and maintenance problems that can arise.
So one has to wonder, for such a simple problem, does it not suggest that perhaps your design is not correct and if you took another look at it you could come up with a solution that is more appropriate and leads to code with is much simpler.
I believe that was the intent of the suggestion.
For example if you really must access 'attributes' via a key then have you considered that perhaps you don't have attributes but rather 'properties'. And if so there is already a Properties class. And if the Properties class is a little to constraining then the Hashtable might also fulfill what you are trying do. Keep in mind that these depend on whether the best design for your project really requires accessing values via a string. -
Few Questions (Help Needed)
Hi,
I had few questions regarding captivate 4. If anyone can help, I would really appreciate it:
1) I created an eLearning project and it has some quiz sildes in them. So how do I collect the scores of the users who will go though that eLearning? ( I googled it but in most of the webpages they say just put a tick on report answers and also in the preferences enable reporting for this project) I tried using that but can`t see how to fetch the score for each users.
2) In the same eLearning I want to get feedback from the users who watch the eLearning. So basically I want a slide in which users can type in their feedback and then when they hit the submit button that feedback should be sent to a specific email. ( For this I tried using text box entry but all the text we enter in that comes in one line, we can`t press enter to change lines, also in the button I assign it to send an email to my lotus notes email id, but when I preview the project and click the button, it opens my lotus notes and it does not fetches what I have entered in the text box)
http://stevehoward999.wordpress.com/about/#comment-270Hi there
You need to be investigating another piece of software that works in conjunction with applications like Adobe Captivate. Generically it is known as a LMS (Learning Management System).
There are tons of them out there. You might begin by looking at the link below:
Click here to view
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcererStone Blog
Captivate eBooks -
Beginner Question - Help Needed for EJB QL Sample Application
I'm working with a group of student interns, like myself, and we've been given an assignment to work with Oracle. All of us have no training or experience with this, so we're just learning as we go.
I've been trying to run the EJB QL Sample Application (http://www.oracle.com/technology/sample_code/tech/java/ejb_corba/ejbql/Install.html), but I keep running into problems at step 3.
Now, we will deploy the sample application onto OC4J. Open another command prompt and go to the folder <OC4J_HOME>/j2ee/home and run the following commands one-by-one
> java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -deploy -file <SAMPLE_HOME>/build/ejbql.ear -deploymentName Ejbql
> java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -bindWebApp Ejbql ejbql-war http-web-site /ejbql
where,
<machine_name> Name of the machine where OC4J Server is running
<admin_port> Admin Port on which the OC4J server listens. This value by default is 23791 unless explicitly changed by the user
<admin_pwd> Adminstrator password to access OC4J. The default value is welcome
When I do this step I get this error:
Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.
AuthenticationException: Invalid username/password for default (sds); nested exc
eption is:
javax.naming.AuthenticationException: Invalid username/password for defa
ult (sds)
com.evermind.client.orion.AdminCommandException: Unable to find java:comp/Server
Administrator: Lookup error: javax.naming.AuthenticationException: Invalid usern
ame/password for default (sds); nested exception is:
javax.naming.AuthenticationException: Invalid username/password for defa
ult (sds)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
nsole.java:105)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
:27)
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException
: Invalid username/password for default (sds); nested exception is:
javax.naming.AuthenticationException: Invalid username/password for defa
ult (sds) [Root exception is javax.naming.AuthenticationException: Invalid usern
ame/password for default (sds)]
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
nsole.java:102)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
:27)
Caused by: javax.naming.AuthenticationException: Invalid username/password for d
efault (sds)
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
... 2 more
---- Embedded exception
javax.naming.AuthenticationException: Invalid username/password for default (sds
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
nsole.java:102)
at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
:27)
Any suggestions to fix this error?
Thanks in advance for any help.George,
The Readme.html file is available with the ejbqlsample.jar downloadable (Extract and find the doc in Ejbql\docs\Readme.html) which is printable.
Or,
If you are trying to print the file directly from OTN site, you need to set the Page-Setup Orientation to 'Landscape'.
Hope this helps.
Regards
Pushkala -
Please can I get an expert's help in findig a solution to the following questions:
1 To view the most up to date planning data (available stock, orders, reservations, etc.) on a material, use the:
(more than one answer can be correct)
A Stock Overview report.
B List display of material and accounting documents.
C MRP list.
D Stock Requirement list.
E Standard Analysis for a material
2 A material forecast can be used by the following MRP types:
(Only one answer is correct)
A Manual Reorder point planning.
B Automatic reorder point planning.
C Forecast based planning.check
D Time phased planning.
E Storage location MRP
3 Materials planning can be set to automatically generate:
(more than one answer can be correct)
A Contracts.
B Purchase Requisitions.
C Purchase Orders.
D Planned Orders.
E Delivery Schedules.
4 The following are lot sizing rules available for SAP R/3:
(more than one answer can be correct)
A Fixed lot size.
B Replenish to maximum stock level.
C Weekly lot size.
D Daily lot size.
E Economic order quantity.
5 Which of the following apply to Purchase Orders?
(more than one answer can be correct)
A The vendor must be specified in the Purchase Order Header.
B All materials on a purchase order must be procured through the same purchasing group.
C All materials on a purchase order must be of the same material group.
D Discounts and surcharges can be maintained in the document header.
E Discounts and surcharges can be maintained at line item level.
6 Which of the following is an Account Assignment category?
(more than one answer can be correct)
A Material Group.
B Purchase Requisition.
C Sales Order.
D Release Code.
E G/L Account
7 Which of the following are Item Categories?
(more than one answer can be correct)
A Consignment.
B Service.
C Manufacturing.
D Cost Centre.
E Subcontracting.
8. Which of the following documents can be subject to release (approval) procedure?
(more than one answer can be correct)
A Planned Order.
B Purchase Requisition.
C Scheduling Agreement.
D Purchase Order.
E RFQ.
9 In Source lists the following can be sources of supply:
(more than one answer can be correct)
A Vendor.
B Contract.
C Scheduling Agreement.
D Quotation.
E Quota Arrangement.
10 Which of the following document types can appear in the purchase order history for a purchase order line item?
(more than one answer can be correct)
A Another purchase order.
B A goods receipt material document.
C A service entry sheet.
D An invoice.
E A release procedure.
11. Which of the following stock types can be counted through Physical Inventory procedure?
(more than one answer can be correct)
A Unrestricted use stock.
B Block stock.
C Quality Inspection stock.
D Vendor consignment stock.
E In-transit stock.
12 Which of the following cab possibly influence the valuation price of a moving average priced material?
(more than one answer can be correct)
A Goods receipt for a purchase order.
B Goods Issue to a cost centre.
C Invoice verification against a purchase order.
D Stock transfer between two storage locations in the same plant.
E Transfer posting from unrestricted use stock to quality inspection.
13. In the SAP system a user can operate in the following hierarchies.
(more than one answer can be correct)
A Service level.
B Application level.
C Main menu level.
D Month.
E Total stock value.
14 Your planning department is using a Forecast Model for materials planning. It has been established that while demand for the particular material is projected to increase steadily as market share is increased, the fluctuating tourist demand will affect the overall requirements. Which forecast model will best address this requirement?
(Only one answer is correct)
A The Constant model.
B The Constant trend model.
C The Seasonal trend model.
D The Fluctuating trend model.
E The Seasonal model.
15. In the SAP system, the reference document used in the purchasing cycle is the:
(Only one answer is correct)
A Purchase requisition.
B Info record.
C Source list.
D Purchase Order.
E None of the above.
True / False
16 What purpose does invoice verification serve in materials management?
a It allows invoice that do not originate in materials procurement to be processed.
b Completes the materials procurement process
c Handles the payment
d Allows credit memos to be processed
e Handles the analyses of invoices.
17 What are the tasks of invoice verification?
a Entering invoices and credit memos received.
b Checking the accuracy of invoices
c Executing the account posting resulting from invoice
d Updating open items and material prices
e Checking invoices that were blocked.
18 What is the process of invoice verification?
a Purchase order, service or GR referenced for incoming invoice.
b Invoice items suggested by the system against referenced document
c Corresponding automatic account postings carried out.
d Payment proposal list for vendor generated.
19 From where does the system pick the default quantity of an item when you post invoice receipt?
a Invoice
b Purchase order
c Purchase order history
d System settings
e Vendor master
20 During invoice verification the system picks the rate at which tax is calculated from the vendor master record.
TRUE
FALSE
Regards
VSHi Vishal,
Here are the answers.
1. C, D
2. C
3. B, D, E
4. A,B,C,D
5. A, B, D, E
6. C
7. A, B, E
8. B, C, D, E
9. A, B, C
10. B, C, D
11. A, B, C
12. A, C
13. E
14. A
15. A
True / False
16. B, C, D, E
17. A, B, C, E
18. A, B, D
19. C
20. False
Hope this helps.
Thanks,
Viswanath -
Simple java question, help please
please help
-i am just starting out in java and im havin an early problem. Im trying to run a small java script from a commant prompt but im getting the following error after i enter this command at my prompt
c:\javatest>javac HelloARP.java
javac is not as an internal or external command, operable program or batch file.
when i enter
c:\java -version
i get the following message: registry key software\javasoft\java runtime enviornment\current version has value of 1.1 but 1.4 is requiured
error: could not find java.dll
error: could not find java 2 runtime enviornment
-im sure this is a simple error on my part. all im trying to do is run my first lil program that i saved in notepad, its only 5 lines long. here is the lil test program im trying to execute
class HelloARP {
public static void main (String[] arguments) {
System.out.println("What's good ARP?");
- all responses and help are welcomed. Thank you ahead of time for anyone that can help me get started.Hi
First of all uninstall your current JDK installation, if you can get to the registry delete the registry entries for the old version of java which was there on your machine.
Now do a fresh install of your j2sdk1.4.1, make sure that you will install the JRE with the J2SDK1.4.1.
Once you are done, set your classpath in autoexec.bat if you are using Windows 95/98
or set your environment variables if you are using Win NT/2000/XP.
If using solaris or other unix flavors see the included installation instructions provided.
Let me if you face the same problem.
Thanks
Swaraj
Maybe you are looking for
-
Why portal server can't create an instance of axis.Service class?
Hi,gurus, We developed a uwl custom connector,The time out occured in that custom connector.After adding the time out value from 30s to 300s,the problem still existed. The code is like below: String endpoint = "http://172.16.127.4:8080/appframe-web/s
-
Saved image to SDCARD, wont show up in Gallery
hello, i have written a code to save image from my application folder to mobile sdcard download folder. the code is working perfectly fine but the problem is the image saved from my app are not visible in gallery. but other image which are there i
-
FDM is not supported on Oracle RAC? Why not?
[http://download.oracle.com/docs/cd/E12825_01/epm.111/fdm_11113_readme.pdf|http://download.oracle.com/docs/cd/E12825_01/epm.111/fdm_11113_readme.pdf] We are in the process of implementing Oracle Hyperion Financial Data Quality Management (FDM) versio
-
Back to mac and broadband issues
Hi all. I have a problem with back to mac on mountain lion on my MacBook. I am trying to access my iMac. However looking in the control panel for iCloud it is saying that I need to turn on unp? Which I have in my router settings. It is now saying bac
-
Same artist is shown multiple times
In iTunes, I downloaded a song not through the iTunes store, then added the .mp3 file to iTunes. When I enter in the artist information for sorting, it lists that artist separate from the same artist I've added in the past. I am 100% positive that th