Looped objects in score?
It's possible to see alias object in score but no looped objects. Or I'm missing something...?
hi Amanda,
it makes no difference, it doesn't matter.
the ods/infoobject catalog just serve as template where we can choose infoobjects to be included in infocube.
later in bi 7.0, we can directly type in infoobject technical name, like in ODS.
hope this helps.
Similar Messages
-
Scores can be assigned to non interactive objects or scores cannot be assigned to interactive objects in adobe captivate?
???? What do you mean, please. Only interactive objects and question slides
can have a score. Some learning interactions are interactive as is
Drag&Drop. -
Hello,
I have a question on object creation and while loops. Have a look at the following code snippet:
while(true)
Object obj = new Object();
// Pass off obj to a new thread
Thread job = new Thread(new ObjectHandler(obj));
job.start();
}My question is, do I have to wait until the newly created Thread is finished with the Object obj before I can create a new Object called obj in the while loop?
Also does anyone have any documentation on this sort of thing?
Thanks,
Tony.Jaxie wrote:
I'm still not sure you get what I'm on about, you might want to read up on java methods and pass by value.I think we know how it works. Most of us have been programming in Java for serveral years.
>
When you pass an object to a method in java you pass it a copy of a reference to that object. Leading on from that, before an object is eligible for garbage collection in java, all references to that object must be dropped.
So with all that in place, my question was, is the creation of an object in a while loop dependent on previous objects of the same name? Objects don't have names. Have we mentioned that before?
You have a reference, larry that is referencing an unnamed object. You can also create other references that reference the same object. The thread will have one reference. You can then make larry reference another object. That will not change anything in the thread. It will still reference the old object, and that object will not be claimed by the gc until that thread stops referencing it.
So the second time we go through the loop below, do we have to wait until larry has been garbage collected, before a new larry can be created?Read the articles/tutorials and what I have written above. What do you think?
Do also note that the GC isn't executed synchronously. -
Appraisals - competency and objective line scores
So the default setup has the employee (appraisee) and manager (appraiser) scoring each competency and objective. Then Oracle creates a line score, which is an average of the two (employee and manager). That line score is used to create the total scores for competency and objectives, and ultimately final score.
Question is, can I have the employee rate themselves, but only use the manager score for calculating the total scores?
So for example:
Comp 1
- Emp = 2
- Man = 3
- Line Score = 2.5
- Wanted = 3
Thanks!This is what I am seeing with 11.5.10.2. Say you have 5 competencies, scoring with 'Rating Type Scale' as 'Performance' and a 'Performance Scale' with values of '1, 2, 3, 4, 5'. Total score is set to 'Average'. Both the manager and the employee get to rate the employee.
What I am seeing is:
Competency -> Manager -> Emp -> Combined
A -> 3 -> 2 -> 2.5
B -> 3 -> 2 -> 2.5
C -> 4 -> 3 -> 3.5
D -> 4 -> 3 -> 3.5
E -> 5 -> 4 -> 4.5
Avg -> 3.8 -> 2.8 -> 3.3
So what we want is for the final average score to just use the Manager column which would be a value of 3.8. What I am seeing happening is each line is averaging the manager and employee line, and then taking an average of that for the total score, thus 3.3.
Is there a way to have both the manager and employee rate the employee on competencies and objectives, but for the total score only use the managers rating? -
is
???? What do you mean, please. Only interactive objects and question slides
can have a score. Some learning interactions are interactive as is
Drag&Drop. -
Animation with looping objects?
Hi all.
I have this animation in which I have 4 squares - red, green, blue and orange - in this order, in a sliding row. Check animation
When I mouseover on any of them, the timeline slides one square to the left/right centering one of the squares - for ex, if the green square is centered and I mouseover the blue square, the entire row slides one square to the left so that the blue square becomes centered. It's like an horizontal sliding menu.
The whole thing works fine. What I need is for this animation to be loopable, that is, when I reach the final square (orange) I want the row to keep sliding so that the first one - the red square - becomes centered (always seing a bit of the previous and next square).
How do I this?
My files
pmfrHi!
I just duplicated the red, green and purple boxes (to keep those at start and the end of animation) and put some logic on it. It's quite simple.
Here are the files.
This is my first answer here, so, I'd be glad if you mark as correct!
Cheers!
PS: Você é brasileira? -
I tRounding the Total Scores for Objectives and Competencies in Application
Hello
Where does one change the format of the total scores for the Overall Ratings and Comments - Objectives and Competencies in the front end /application?
Currently the total scores are in the format Objectives: Total Score 3.375
Competencies Total Score 2.69230769230769
HR want to show the Total Scores as rounded to 2 decimal places in the application so 3.375 becomes 3.38 and
2.69230769230769 becomes 2.70
Now i know how to do this in Toad using a select on the TOTAL_SCORE column in the hr.per_assessments table, but this is not i want to do here. Here i want to change the format in the FRONT END, not in the back end.
I tried the fast formulas but they dont seem to work unless i am missing something
Edited by: iandekoker on Apr 2, 2009 2:53 PMin case anyone wondered you use the package called apps.hr_appraisals_util_ss. Inside the package you can add round(,2) to obtain the result
-
Rounding the Total Scores for Objectives and Competencies in application
Hello
Where does one change the format of the total scores for the Overall Ratings and Comments in the front end /application?
Currently the total scores are in the format Objectives: Total Score 3.375
Competencies Total Score 2.69230769230769
HR want to show the Total Scores as rounded to 2 decimal places in the application so 3.375 becomes 3.38 and
2.69230769230769 becomes 2.70in case anyone wondered you use the package called apps.hr_appraisals_util_ss. Inside the package you can add round(,2) to obtain the result
-
Add advanced action to submit button and setting different objectives score for the same course
Hi, i would like to increase a counter in a quiz slide when the user press the submit button, using advanced actions.
It's like if the submit button is somehow inhibited from certain options, and i cannot find how to add an advanced action to it.
what i need, is to allow unlimited attempt until the user selects the right answer. each time the user click on submit, a counter increases by one. When user finally select the right answer, we read the counter value and assign a different score, depending on the attempt (for example: 1st attempt=20 points, 2nd attempt=10 points, 3rd attempt=0 points)
After that, i need to save all score obtained for a certain group of quiz slide separately from the "main score" (i think the main score is stored in cmi.objectives.0.score) to have partials scores for a course. I examined the "advanced interactions" panel and i noticed that for each quiz slide there is a specific interaction ID and each quiz slide is associated typically to the same Objective ID. What i need is to associate different groups of slides to different Objective ID's.
In Storyline i was able to do this by passing to the lms a cmi.objectives.n.score (where "n" is the place in the objectives array) and i did it by executing a javascript on success for each question slide. (each javascript added the score of previous slides in the same group to obtain the total score of the group to be passed to lms with a specific function).
examining captivate scorm functions in the published scormdriver.js i found the following function
function SCORM_SetObjectiveScore(strObjectiveID,intScore,intMaxScore,intMinScore)
so i think it can be done the same way in captivate executing javascript in the right way.
Is there also an easier solution to write different scores to different obectives in the same course?
many thanks for any help!Have a look at:
Question Question Slides in Captivate - Captivate blog
Question Question Slides - Part 2 - Captivate blog
Indeed, Submit button is part of the Question slide, not a normal button. You can add a custom shape button, but it will never replace what happens when the Submit button is clicked: validation of the answer, showing captions, adding to score etc. Making the score depending on the attempt is not possible with default functionality, it is possible with custom question slides, but then the reporting to LMS is another issue. You should try to do it by JS, or if you only need SWF-output you could use the Master widget by InfoSemantics.
Link score to attempts in Custom questions - Captivate blog
Lilybiri -
Multiple instantiations of the same object
Can someone please explain to me the difference of these two circumstances upon the JVM:
1) I declare an object outside the loop and instantiate a new object on each iteration of the loop
Object obj = null;
for (int i = 0; i < 6; i++) {
obj = new Object();
}2) I declare and instantiate the object inside the loop only
for (int i = 0; i < 6; i++) {
Object obj = new Object();
}I assume in the first example that I am reserving memory space and overwriting it on each iteration, whereas in the second example I am reserving and consuming a new memory space on each iteration.
If that assumption is correct, which is the more efficient? Wouldn't option 1 be easier on garbage collection?I compiled both cases using Sun javac (1.4.1) and used javap to view the compiled code. It looks the same to me. Here's the compiled code (for the loop) for the first case 2 iconst_0
3 istore_2
4 goto 18
7 new #2 <Class java.lang.Object>
10 dup
11 invokespecial #1 <Method java.lang.Object()>
14 astore_1
15 iinc 2 1
18 iload_2
19 bipush 6
21 if_icmplt 7
24 returnHere's the compiled code the second case 0 iconst_0
1 istore_1
2 goto 16
5 new #2 <Class java.lang.Object>
8 dup
9 invokespecial #1 <Method java.lang.Object()>
12 astore_2
13 iinc 1 1
16 iload_1
17 bipush 6
19 if_icmplt 5
22 return -
High scores table without name repeat
Hello there,
I have some code which fills a high scores table.. we've decided to give away a prize to the top ten people in the high scores table.. the problem is that people are playing repeatedly and fillnig the high scores table with their name, this makes it unfair to other players as they can't manage to get onto the table !!
Is there a way I can modify my code to ignore the same name should it appear and skip to the next non repeated name(pseudo) and score ??
My text boxes are called pseudo1 - pseudo10 and score1 - score10
Many thanks in advance for your help below is my code :-
for (var p:uint = 1; p <= 10; p++) {
var currentPseudo:String = "pseudo" + p;
var currentScore:String = "score" + p;
if (event.target.data["pseudo" + p]) {
highScoresPage[currentPseudo].appendText(event.target.data["pseudo"+p]);
if (event.target.data["score" + p]) {
highScoresPage[currentScore].appendText(event.target.data["score"+p] + " points"/*/1000 + "s"*/);
} else {
highScoresPage[currentPseudo].appendText(" \n");
highScoresPage[currentScore].appendText(" \n");I find using Dictionary class for filtering unique names very useful. The code below shows that. Note how array is sorted in descending order:
var scores:Array = [];
scores.push( { name: "Peter Smith", score: 32 } );
scores.push( { name: "Amanda Smith", score: 112 } );
scores.push( { name: "Peter Smith", score: 23 } );
scores.push( { name: "Jerry Pak", score: 45 } );
scores.push( { name: "Peter Smith", score: 80 } );
scores.push( { name: "Martin", score: 78 } );
scores.push( { name: "Andrei", score: 99 } );
scores.push( { name: "Andrei", score: 65 } );
scores.push( { name: "Martin", score: 76 } );
scores.push( { name: "Amanda", score: 10 } );
scores.push( { name: "Peter Smith", score: 73 } );
// this sorting assures that only highest score for the same name will be presented
// default sort is ascending
scores.sortOn("score", Array.NUMERIC);
var uniquePlayers:Dictionary = new Dictionary();
// this creates unqie entries
for each(var obj:Object in scores) {
// each element is entered only once
uniquePlayers[obj.name] = obj;
// reset array
scores = [];
// populate with unique names
for (var key:String in uniquePlayers) {
scores.push(uniquePlayers[key]);
scores.sortOn("score", Array.NUMERIC | Array.DESCENDING);
for each(obj in scores) {
trace(obj.name, obj.score); -
**For this problem you will create a program to display a plain text scoreboard for a match of the game of tennis. If you are not already familiar with the scoring system in tennis you may wish to do some of your own research on it, but I have briefly described the scoring system below.**
**The program you write must provide a running score for a complete match of 3 sets. In the first two sets, a player wins the set by winning 6 games and being two games ahead. After such a set is won the score might be 6-2 or 6-4 or 6-1 etc. If the score reaches 6-5, an extra game is played. If the score is even, at 6 games each, the set is decided by a seven point tiebreak; the first player to obtain at least seven points in the tiebreak, with a two point advantage, wins the set. When a set is won by a tiebreak the sets score is shown as 7-6.**
**The last set is played to advantage, which means to win it a player must win at least 6 games and be two games ahead of their opponent. If the score is even, at 6 games each, the set is decided by continuing to play normal games until one player is two games ahead of the other. An advantage set is shown on the scoreboard as 9-7, or 7-5 or could even be 335-333 (after which both players expire of exhaustion).**
**Each game consists of four points, the first called 15, the second 30 the third 40. A player who has reached 40 with their opponent on less than 40 can win the game with one more point. However, if the two players are both on 40 (called deuce and shown as 40-40) play continues until one has a two point advantage. From deuce, the next point gives the winner Ad (short for advantage) and the score is shown as Ad-40. If the other player wins the next point the score returns to deuce again. When a player leading Ad-40 wins the next point they win the game.**
**Which player is serving at any stage does not affect the scoring system. If desired, an initial server could be chosen randomly, with serving alternating game by game throughout the match. Serving only affects the vocalisation of the score, without affecting the score on the scoreboard.**
**Requirements**
**Create a TennisScorer class, whose objects will score a tennis match as described below.**
** When the program starts a tennis scoreboard will be displayed on the standard output as**
*** Player 1: 0 0 0**
**Player 2: 0 0 0**
**where the first column optionally shows who is serving, the second shows the players names, the third their score in sets, the fourth their score in games in the current set and the fifth their score in points in the current game.**
** The program will randomly generate a winner for the next point. The scoreboard is then updated and displayed again. For example, after many points the display might contain many instances of the output scoreboard including the following.**
**Player 1: 1 3 40**
*** Player 2: 0 5 40**
**Player 1: 1 3 Ad**
*** Player 2: 0 5 40**
**The behaviour of generating a winner, updating the score and displaying it should continue as long as the match lasts. This will produce a large amount of display, only a sample of which should be included in your listing. The displayed output should be captured to file.**
** When a player has won 2 sets the program should display the name of the winning player and terminate.**
**If you cannot complete the above problem you should submit a partial solution which only scores points or scores points and games but not sets, or doesnt show who is serving. You may also add add*itional features as described below.*baxterbbb wrote:
give me some coding hint man.............The assignment tells you to write a class TennisScorer. Write an empty class TennisScorer.
What does a TennisScorer object need right at the start to be able to function?
The player names. Therefore provide a constructor that takes two String arguments.
Now every time one of the players wins a point, your TennisScorer object needs to be informed, so that it can adjust its internal state. Provide a method, let's say updateScore() with parameters describing somehow who won the point. Or, if you wish, two methods, firstPlayerPoint(), secondPlayerPoint(). Also provide a toString() method (check Object.toString()) so that someone could extract the information for display purposes. What is the internal state? Maybe some instance variables called: p1Sets, p2Sets, p1Games, p2Games etc.
Now write a main() method that exercises all this: creates the TennisScorer object, goes to a loop and generates a random value indicating which player scored, feeds the TennisScorer with the value, calls toString() and displays the result. -
Source is Oralce. Destination is SQL Server.
Requirement - I have to fetch sql server server data (empid's) based emp table and send this as input data to oracle to fetch and empid's are common.
I cannot use merge or loopkup or for each as oracle have too many records.
For example - In MS SQL - i have empid=1,2..Only these records, I have to fetch from oracle source into sql server destination. For this, I have adopted the below approaches...The major problem I face, when i build a empid's as a string, it is taking only
4000 chars. My string lenght is 10000. How do I breakup this string lengh and send to data flow task till all broken strings length passed to DFT.
Approach-1
created two variables - oraquery string, empid string
step1 - ms sql database - created sql task - declare @empid varchar(max)
SELECT @empid=
Stuff((SELECT ',' + empid
FROM
(SELECT DISTINCT convert(varchar(10),empid ) empid FROM emp
) x
For XML PATH ('')),1,1,'')
select @empid = '(' + @empid + ')'
select @empid
resultset=singlerow
resultset=resultname=0; variablename=User::empid (empid is declared as string)
step2 - oracle database - created data flow task
created oledb source
I put this statemnt in oraquery expression - "select * from dept where dept in "
+ @[User::empid] + "
expression=true
[OLE DB Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E14.
An OLE DB record is available. Source: "Microsoft OLE DB Provider for Oracle" Hresult: 0x80040E14 Description: "ORA-00936: missing expression".
Approach-2
created three variables - oraquery string, empid int, loop object--when I put int then it is automatically setting to 0
step1 - ms sql database - created sql task - SELECT DISTINCT convert(varchar(10),empid ) empid FROM emp
resultset=fullresult
resultset=resultname=0; variablename=User::loop
step2 - created a for each loop container
for loop editor - for each ado ennumerator
enumerator configuration - loop
variablemapping - variable=empid;index=0
step3 - oracle database - created data flow task (outside for each loop. If I put inside it is taking long time)
created oledb source
I put this statemnt in oraquery expression - "select * from dept where dept in "
+ @[User::empid] + "
expression=true
Data inserting in a destination table but empid=0.Sorry didnt understand if your step3 is outside loop how
@[User::empid] will get values for the empids from User::loop. The iteration happens inside loop so you
need to have a logic to form the delimited list inside using a script task or something and concatenating everything and storing to variable @[User::empid]
. Then only it will have full value used to be used in step3 query
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Inserting multiple data in a single textfield
is it possible?? something like "select name from table where department_id = 2" and put it in a textfield(or any prefered item) and the output would be like "sanchez , goodyear , hillman" <-- data shud be also separated by comma.
whoa andres thats a bit complicated.. anyways im using form9i so im sticking with the trigger type code for forms...
i have implement craigs code in my system now but there is some error..
i got this in :blk_student.score 'when-validate-item' trigger:
"if :BLK_STUDENT.SCORE != 'NA' then
if :BLK_STUDENT.SCORE <= 100 and :BLK_STUDENT.SCORE >= 90 then
FOR
Rec IN (select section_name from TBL_SECTION where section_id = 1) LOOP
if :blk_student.adv is null then
:blk_student.adv := rec.section_name;
else
:blk_student.adv := :blk_student.adv||', '|| rec.section_name;
end if;
NEXT_RECORD;
END LOOP;
elsif :BLK_STUDENT.SCORE <= 89 and :BLK_STUDENT.SCORE >= 80 then
FOR
Rec IN (select section_name from TBL_SECTION where section_id = 2) LOOP
if :blk_student.adv is null then
:blk_student.adv := rec.section_name;
else
:blk_student.adv := :blk_student.adv||', '|| rec.section_name;
end if;
NEXT_RECORD;
END LOOP;
end if; "
and i got this error http://i95.photobucket.com/albums/l133/element81/errorrrr.jpg
and when i press ok, the advised section will be empty again/null..
any idea??
additional info:
the section block LOV is related to student block (SELECT ALL TBL_SECTION.SECTION_NAME, TBL_SECTION.YEAR,
TBL_SECTION.PROFESSOR, TBL_SECTION."SESSION", TBL_SECTION.SECTION_ID
FROM TBL_SECTION where TBL_SECTION.YEAR = :BLK_STUDENT.YR_STATUS);
also the student block is a manual block with 'when-new-instance-block' trigger that has this code:
"FOR
Get_Rec IN (select LASTNAME,FIRSTNAME,MIDDLENAME,AGE,CONTACT_NUMBER,ADDRESS,STUDENT_NUMBER,YR_STATUS,SCORE,STATUS from TBL_STUDENT) LOOP
:blk_student.lastname:=get_rec.LASTNAME;
:blk_student.firstname:=get_rec.FIRSTNAME;
:blk_student.middlename:=get_rec.MIDDLENAME;
:blk_student.age:=get_rec.AGE;
:blk_student.contact_number:=get_rec.contact_number;
:blk_student.address:=get_rec.address;
:blk_student.student_number:=get_rec.student_number;
:blk_student.yr_status:=get_rec.yr_status;
:blk_student.score:=get_rec.score;
:blk_student.status:=get_rec.status;
NEXT_RECORD;
END LOOP;
FIRST_RECORD;" -
LabVIEW Software Developer/Hardware Integrator
La Jolla, CA based automation and custom solutions provider seeking LabVIEW software developers.
Job Description
Seeking a National Instruments LabVIEW Software Developer/Hardware Integrator to join our team developing customized automated control and test equipment.
The preferred candidate will have 1-5 years experience in software development and hardware integration using LabVIEW and some experience with embedded C. Candidate must have hands-on experience interfacing and calibrating various transducer signals to both National Instruments and Third Party data acquisition boards.
Software Experience
Programming experience with an understanding of a majority of the items below:
Labview Programming 1-5 years
GOOP/LVOOP
Database Connectivity
RS232 and USB COM programming
Real Time Systems
AIO, DIO, Counter Configuration and Operation
Producer/Consumer Architecture
Queues, Events, Timed Loops, Objects, Multithreading, Hardware Triggering, Variants, Code Interface Nodes, PID
ActiveX, DLL APIs
LabVIEW Application Deployment (building and deploying executables)
*A preference will be given to candidates who have experience in both NI Data Acquisition hardware and Embedded Arm Development.
Hardware Experience
Candidates will have demonstrated experience (or at least a basic understanding of) in the integration of transducers and signal conditioning commonly used in Biomedical/Biotech industries into data acquisition and control systems including but not limited to:
Temperature (TCs, RTDs, and Thermistors)
Photodiodes
pH,DO,ORP Electrodes
Liquid/Gas Valves
Liquid/Gas Pumps/Compressors
Motion (Stepper and DC Servo) including Quadrature Encoders
Pneumatic displacement cylinders
Lighting (Bulbs and LEDs)
Solid State and Mechanical Relays for AC/DC power switching
Thermoelectric Coolers
Digital Switching and Bus Communication (DIO, SPI, Counter, Triggering, etc.)
Education
Some college-level experience in Electrical/Computer/Optical/Bio/Chemical Engineering and/or Computer Science. A formal degree is not as important as capabilities and creativity. Previous Experience with National Instruments LabVIEW Training is highly desired. Understanding of AC/DC circuit basics is a requirement and a preference will be given to candidates with more component level electronics experience.
Positions
We have both part-time and full-time positions available in our La Jolla, CA office. We are a company specializing in the development of custom automation solutions for various clients primarily in the Biotech/Biomedical/Oceanography areas. We are a small, but growing company looking for individuals who like a diverse work environment filled with unique challenges that are constantly changing.
If you enjoy using your creativity and talents in a fun entrepreneurial environment and like the idea of working in the beautiful surf-town of La Jolla, CA then we want to hear from you...
www.labviewautomation.comHey, I own a Canadian built sailboat, drink the occasional Canadian beer, watch CKWS on cable, can say Eh! with the best of them, had my first anniversary honeymoon in Ottawa. I even have a loonie in my pocket and $5cdn in my wallet You have to be Canadian? Winters are milder there than where I live too.
Fixed wire, that is for those posters in the other threads that insist on posting for the 3 -4 year old jobs! How else will he get them to apply in a timely fashion?
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion
Maybe you are looking for
-
Unable to retrieve data from XML Type
Hi All, I have table which has Column of type XMLType XML Data is loaded in the table. But when iam trying to extract not able to retrieve the data Following is the select query i am using SELECT CL.XMLDATA.EXTRACT('/ServiceType/entityName/text()').g
-
WORK FLOW SCENARIO IN CUP STAGE APPROVAL PROCESS
Hi All, We had configured GRC CUP with four stage approval work flow process .I have a question like is there any condition / option If there are few Top management level users ( M0,M1.....M9).In CUP Change Account request Few roles should not be s
-
can't connect apple usb keyboard to my mac pro 2014 after installing latest os x yosemite, it worked well just before, and where is no any problem with the keyboard because it works with my mac book pro.. please help! I can't enter my mac as its own
-
MS Project 2010 Start dates change automatically
Hi, I hope someone can help with this project problem, its driving me insane! I have a set of activities which have a start date of 01/09/2014, there are no predecessors to these tasks but there are successors, and a date constraint date (the project
-
Printer spooler is not generated while output command
Dear All, I am facing problem in where the printer is installed in that system .when the user is giving print the Printer spooler is not generated while output command successfully coming in sap Please suggest how to sol Regard Kumar