TptbmOCI Interpret Results

I have been running tptbmOCI against an Oracle database and a TimesTen database. I had a question about how to interpret what I am seeing.
So when I do an insert you can see below that I am inserting 1,000,000 records (bold below) however, when it comes to the results it show 10,000 transactions. When do a select count(*) from appuser.vpn_users it shows the 1 million records. I was under the impression that the transactions would say 1,000,000 but instead shows 10,000.
Why does it show 1,000,000 on one section but then appears to only benchmark on 10,000 records on the results? Is that because tptbmOCI is bench marking against 10,000 of the 1 million records??
D:\TimesTen\tt1121_64\quickstart\sample_code\oci>tptbmOCI -service dbscan -user appuser -insert 100 -key 1000
Enter password for appuser :
Connected using appuser@dbscan
Using Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
and Oracle Client 11.1.0.7.0
Load the appuser.vpn_users table with *1000000* rows of data
Run 10000 txns with 1 process: 0% read, 0% update, 100% insert, 0% delete
Transactions: *10000* <1> SQL operations per txn
Elapsed time: 14.7 seconds
Transaction rate: 680.1 transactions/second
Transaction rate: 40808.0 transactions/minute

Hi Victir,
By default, TPTBM first drops, creates and populates the VPN_USERS table with data. The number of rows used to populate the table is determined by the value specified for 'key' squared. So for -key 1000 the table is populated with 1,000,000 rows. Then the number of transactions specified by -xact (default is 10,000) are executed and timed to give the transactional throughput. It is possible to simply populate the table without running any transactions (-build) option or to run transactions without repeating the population step (-nobuild option).
Try running tptbmoci --help to get details on all options.
Chris

Similar Messages

  • Interpret results of performance reports

    Are there any white papers to interpret the results of
    the performance reports. The docs included with the performance scripts are not detailed. Any help is appreciated.
    Harish

    there is a discussion of the output at
    http://www.oracle.com/technology/products/ias/portal/html/admin_perf_10g_sizing_faq.htm

  • Interpreting results - difference between bar char...

    Hi,
    I'd like some help interpreting the results of my recent BT speedtest
    The results said that my max achievable is 2000kbps and that my DSL connection rate is 5008 kbps (or thereabouts)
    I thought the DSL connection rate was the max achievable - so why the barchart figure only going to 2000kbps
    I'd appreciate any explanation/help anyone might be able to provide
    Thanks
    Dominic

    Thanks...yes
    FAQ
    Test1 comprises of Best Effort Test: -provides background information.
    Download  Speed
    1608 Kbps
    0 Kbps
    2000 Kbps
    Max Achievable Speed
     Download speedachieved during the test was - 1608 Kbps
     For your connection, the acceptable range of speeds is 400-2000 Kbps.
     Additional Information:
     Your DSL Connection Rate :5088 Kbps(DOWN-STREAM), 448 Kbps(UP-STREAM)
     IP Profile for your line is - 1750 Kbps
    So my question is why is the max achievable speed at 2000 kbps but the DSL connection rate is 5088kbps - I have a PlusNet teleworker contract that goes up to 8mbps. BTW, I'm working on various ways of getting the IP Profile up - changing telephone, router etc to find out why the IP profile isn't nearer the max speed.
    Thanks for any insight here

  • How to interpret result of outcode method of Rectangle2D.Double class

    I am trying to use Rectangle2D to determine position of a point with respect to a given rectangle.
    Here is my code
    Rectangle2D.Double rect = new Rectangle2D.Double(10,10,50,50);
              System.out.println(rect.outcode(10,10));
              System.out.println(rect.outcode(10,9));
              System.out.println(rect.outcode(9,10));
              System.out.println(rect.outcode(50,50));
              System.out.println(rect.outcode(60,60));
              System.out.println(rect.outcode(61,10));
              System.out.println(rect.outcode(61,61));
              System.out.println(rect.outcode(61,45));
    Here are the results
    0
    2
    1
    0
    0
    4
    12
    4
    I can understand when result is 0 then the point is either inside or on the Rectangle2D.Double object
    I can assume if output is 1,2 3 or 4 it can be mean out_left, out_top, out_right, out_bottom but sometimes i get values like 5,9, 12 etc which I cannot figure out. What I can assume for these values
    Any pointer to this will be helpful
    Thanks Shantanu

    Any time you see constants defined in powers of two you can suspect
    that they may be added to form unique sums.
    So these, found in the Constant Field Values of Rectangle2D
    public static final int OUT_BOTTOM = 8
    public static final int OUT_LEFT   = 1
    public static final int OUT_RIGHT  = 4
    public static final int OUT_TOP    = 2may indicate that something like this is possible/useful:
    OUT_TOP                =  2    // N
    OUT_TOP + OUT_LEFT     =  3    // NW
    OUT_LEFT               =  1    // W
    OUT_LEFT + OUT_BOTTOM  =  9    // SW
    OUT_BOTTOM             =  8    // S
    OUT_BOTTOM + OUT_RIGHT = 12    // SE
    OUT_RIGHT              =  4    // E
    OUT_RIGHT + OUT_TOP    =  6    // Ne
    CENTER                 =  0    // inside

  • Extenal authentication plug-in debugging - how to interpret results?

    Hi all
    I've managed to get OID to synchronize with MS AD (partly thanks to this forum)
    Also, I've installed the External Authentication Plug-In
    But I still can't log in to SSO as an AD user...
    So I've run the plug-in debugger and it gives results such as:
    Begin post-search plug-in
    filter string = (&(objectclass=person)(uid=howard_d))
    = appears in position 15
    length of my_filter string = 35
    SAMAccountName = person)(uid=howard_d)
    not a valid SAMAccountName
    I get a similar result if I try logging in with the full account name of '[email protected]'
    (I can bind against AD with these credentials, but not against OID)
    Do I need to change my mappings?
    Or what other tests can I do to check the external-authentication plug-in?
    Thanks again
    Howard

    If (&(objectclass=person)(uid=howard_d)) is the filter used in AD,
    I guess the filter to be used in OID should be "(&(objectclass=person)(SAMAccountName=howard_d))"
    or "(SAMAccountName=howard_d)"
    I think its the syntax error you are getting.

  • Interpret result of "lsnrctl status"

    LSNRCTL> stat
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MUMSOLGACDEV01)(PORT=152
    1)))
    TNS-01169: The listener has not recognized the password
    LSNRCTL> stat
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MUMSOLGACDEV01)(PORT=152
    1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 9.2.0.8.0 - Produc
    tion
    Start Date 11-SEP-2008 19:20:34
    Uptime 0 days 0 hr. 0 min. 6 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File C:\oracle\ora92\network\admin\listener.ora
    Listener Log File C:\oracle\ora92\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=MUMSOLGACDEV01.ad.crisil.com)(PORT=1
    521)))
    Services Summary...
    Service "gacdev" has 2 instance(s).
    Instance "GACDEV", status READY, has 1 handler(s) for this service...
    Instance "gacdev", status UNKNOWN, has 1 handler(s) for this service...
    Service "gactest" has 2 instance(s).
    Instance "gactest", status UNKNOWN, has 1 handler(s) for this service...
    Instance "gactest", status READY, has 1 handler(s) for this service...
    Service "projectXDB" has 1 instance(s).
    Instance "gactest", status READY, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Entry in Listener.ora:
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = MUMSOLGACDEV01)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = c:\oracle\ora92)
    (SID_NAME = gacdev)
    (SID_DESC =
    (ORACLE_HOME = c:\oracle\ora92)
    (SID_NAME = gactest)
    I want to know the meaning of 3 lines:
    1. Service "gacdev" has 2 instance(s)
    2. Instance "GACDEV", status READY, has 1 handler(s) for this service...
    3. Instance "gacdev", status UNKNOWN, has 1 handler(s) for this service...
    Our server MUMSOLGACDEV01 contains two databases GACDEV and GACTEST.

    eBrian, yes but normally we see entries like this
    Service "UT.world" has 1 instance(s).
    Instance "UT1", status READY, has 1 handler(s) for this service...
    Service "UT1.world" has 1 instance(s).
    Instance "UT1", status UNKNOWN, has 1 handler(s) for this service...
    where we have see each database show up twice once for the listener.ora entry and once for the auto-registration but every now and then we see an entry like
    Service "MAX1.world" has 2 instance(s).
    Instance "MAX1", status UNKNOWN, has 1 handler(s) for this service...
    Instance "MAX1", status READY, has 1 handler(s) for this service...
    instead.
    We do not worry about it because application/user connections to the database instance are unaffected by whatever happens that results in the listener display the status data in this form.
    Instances is this case really refers to how the listener recognizes the database instance for making connections to it.
    I was unable to find useful information on metalink in regard to the meaning of status output. There was lots of information about setting up the listener and on the effect of auto-register of databases such as a listener.ora file is not required to even exist but nothing on this specific topic.
    Again I do not think the OP should be worried about the output appearing as it does. That is failry normal.
    HTH -- Mark D Powell --

  • Sun Java Web Server 6.1SP4 deadlock, stops responding

    Hi, i have a java web app on a Java Web SErver 6.1SP4 and when there are a lot of users the web server hangs, it stops responing. After a while (from 2 to 15 minutes) it start responding again. This serves neither dinamic nor static content. CPU usage is 100%. Just stoping and restarting the web server instance it works properly (even with the same or greater number of clients).
    Reading many posts some one wrote to use pstack to see whats happening. I did it, but i can't interpret results (i think there is a deadlock but don't know if thats true and how to resolve it).
    Any hint will be appreciated
    There are a lot of blocks like this:
    ----------------- lwp# 3468 / thread# 3468 --------------------
    fe11f950 lwp_mutex_lock (918c18)
    fd692384 __1cNObjectMonitorGenter26MpnGThread__v_ (5000, 525c, 5000, 50dc, 4800, 4af0) + 2d8
    fd6324d4 __1cSObjectSynchronizerKfast_enter6FnGHandle_pnJBasicLock_pnGThread__v_ (e104f604, e104f77c, 831ff50, 0, 35d654, fd6328ec) + 68
    fd632954 __1cQinstanceRefKlassZacquire_pending_list_lock6FpnJBasicLock__v_ (e104f77c, fd970000, e7330000, 4491d4, fd61bc2c, 0) + 78
    fd63167c __1cPVM_GC_OperationNdoit_prologue6M_i_ (e104f764, 4400, fd970000, 2cdc0, 4a6268, 1) + 38
    fd62e0b0 __1cIVMThreadHexecute6FpnMVM_Operation__v_ (e104f764, 80e9b0, 0, 0, 1, 0) + 90
    fd52c2a4 __1cbCTwoGenerationCollectorPolicyRmem_allocate_work6MIii_pnIHeapWord__ (2e368, fd9c29ec, fd9c297c, fd931a26, 4800, 4998) + 160
    fd522940 __1cNinstanceKlassRallocate_instance6MpnGThread__pnPinstanceOopDesc__ (f3c09020, 831ff50, 81e33e0, 4000, 4178, 0) + 180
    fd7b7744 __1cQjava_lang_StringQbasic_create_oop6FpnQtypeArrayOopDesc_ipnGThread__pnHoopDesc__ (f0a5e910, 0, 831ff50, 0, 1, 1) + a8
    fd63228c jni_NewStringUTF (831ffe4, 605b9c8, fd587824, 80e9f8, 4800, 4998) + b8
    fdafdefc __1cKNSJavaUtilQsetStringElement6FpnHJNIEnv__pnN_jobjectArray_Ipkc_v_ (831ffe4, ace7e4, 2, 605b9c8, 4, 605b828) + 34
    fdb068dc __1cONSAPIConnectorOgetRequestInfo6MpnHJNIEnv__pnN_jobjectArray_4pnK_jintArray__v_ (e104fabc, 831ffe4, ace7e4, ace7e0, ace7dc, 4) + 9c
    fdb042e4 __1cONSAPIConnectorHservice6MpnRJ2EEVirtualServer__i_ (e104fabc, ea9560, 8, 84b9464, 6d137e0, ace7dc) + 260
    fdb02734 service_j2ee (3c1c0, 84b97f0, 84b9868, 0, fdb11d57, 132414) + 40
    ff1cf994 __1cNfunc_exec_str6FpnKFuncStruct_pnGpblock_pnHSession_pnHRequest__i_ (668, 3c1c0, 84b97f0, 84b9868, 0, 0) + 248
    ff1d0db4 INTobject_execute (77308, 84b97f0, 84b9868, 0, 37ff8, 80d290) + 5e8
    ff1d5de4 INTservact_service (84b97f0, 84b9868, ff2e7b58, 0, 0, ff2e7b30) + 4d8
    ff1d64f4 INTservact_handle_processed (84b97f0, 84b9868, 20, 2, 605bee0, 76858) + 158
    ff218a9c __1cLHttpRequestUUnacceleratedRespond6Mpc_v_ (84b9750, ff2e7b7c, 2f48, 1bb, 84b9868, 84b97f0) + 3c8
    ff21818c __1cLHttpRequestNHandleRequest6MpnGnetbuf__i_ (84b9750, 6059290, 605b3f0, 605b3d8, 2000, 60592f0) + 62c
    ff216588 __1cNDaemonSessionDrun6M_v_ (84b9348, 2000, ff2ed7bc, 0, 0, ff2ed774) + 17c
    ff106dec ThreadMain (84b9348, 84fcef0, 3, 0, 1, 4b8) + 24
    fedd0028 ptroot (84fcef0, 0, 0, 0, 20000, fede8d70) + d0
    fe165c94 lwpstart (0, 0, 0, 0, 0, 0)

    hi
    sorry for the delayed response.
    well, the problem that you are trying to run into is very common when your server is getting good amount of load and uses large amount of servlet/jsp web applications running.
    here is a url that you might find it a useful read
    http://java.sun.com/docs/hotspot/gc1.4.2/index.html#4.%20Types%20of%20Collectors|outline
    if you do not want to take this trouble reading this document and want a quick solution, you do can do couple of things:
    - first understand how to size the heap
    http://java.sun.com/docs/hotspot/gc1.4.2/index.html#3.%20Sizing%20the%20Generations|outline
    - understand that the system is paused because jvm is busy doing garbage collection before allowing the web server to continue.
    - this can be avoided by properly tuning the jvm to how you think the server should behave. unfortunately, there is no miracle one one line to fix this issue
    - by careful and decent analysis of your system, you can tune your jvm properly that it can scale very well without any glitches.
    though, you will need to take the pain to learn the garbage collection acronyms and see what's best suited for you.
    - first, you want to know what is happening inside the jvm before you proceed to optimize . you can do this by adding this option
    -verbose:gc -XX:+PrintGCDetails
    How to add this option in the server.xml , is by doing something like
    start admin server -> manager your server -> click Java tab
    -> click on JVM Option in the left side
    -> Add this JVM option -verbose:gc -XX:+PrintGCDetails
    -> restart the server
    -> note, you do NOT want to leave the above option in the production environment as this will tremendously slow your application and this is meant to be only for development purposes.
    - if your server is a multi processor server (has more than 1 CPU) and you want less pause time, you can typically try adding this jvm option to your server and restarting it.
    -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled
    here are few other short cut , jvm options that you also try in your devleopment environment before going to production.
    Server application(Like Web Server 6.1) running alone on a large multi-processor server with 4gb of physical memory.
    #java -server -XX:+AggressiveHeap
    Two applications running on a large multi-processor server with 4gb of physical memory. Each java application instance is allocated a part of total system memory by an explicit specification of the maximum and minimum heap sizes.
    #java -server -XX:+AggressiveHeap -Xms1024m -Xmx1024m
    (again, do your research before you use this option in the production environment)

  • Autotrace with logon trigger?

    Hi,
    I've a view and the view is be reading by an external program.
    How can i see how and how long do they communicate ?
    Thanks in advance.
    With best regards
    Nicole

    Hi:
    If you have a testing environment (that is definitely a must have) and can modify sources the simplest way to activate trace is add a 'alter session set sql_trace=true' at the beginning of the application, then run it, and then evaluate results.
    Using a logon trigger for the user the application is connecting to is another way to accomplish the same, useful when the application cannot be modified. This is an example of the same:
    CREATE TRIGGER
    schema_owner.logon_tg AFTER LOGON ON schema_owner.SCHEMA
    BEGIN
    EXECUTE IMMEDIATE 'alter session set sql_trace=true';
    END;
    This will produce a trace file containing all of the statements executed by the session:
    Trace files go to USER_DUMP_DEST, and need to be parsed with TKPROF in order to produce readable output.
    Also, check to have timed_statistics=true, so it will report timing in the trace files.
    Try to produce trace files, and post if you need assistance in interpreting results.
    ciao
    Andrea

  • Help with XMLHttprequest!

    Hi there, I am developing an application like facebooks for instance, but It will work with any site developed with the ELGG platform!
    I just need some help with Dashcode and javascript. I'm trying to make a simple request (to login) and I am unable to make it work.
    The url is:
    http://hit-server.gotdns.com/elgi1.7/html/services/api/rest/xml/?method=login&us ername=sasa&password=asas&api_key=d7804b697fca84c17a30661667ed4bb75e3bd6e7
    If gives you 0 if its correct or -1 if its not.
    My code looks like this, the method is called when someone press Login button:
    *function miGestorClickSubmit(event)*
    *var userInfo = document.getElementById("nameField");*
    *var passInfo = document.getElementById("passField");*
    if(userInfo.value!=""){
    if(passInfo.value!=""){
    *var feedURL= "http://localhost/elgi1.7/html/services/api/rest/xml/?method=" + "login&username=" + userInfo.value + "&password=" + passInfo.value + "&api_key=" + apiKey.value;*
    *var onloadHandler = function() { xmlLoaded(xmlRequest); }; *
    *var xmlRequest = new XMLHttpRequest();*
    *xmlRequest.onload = onloadHandler;*
    *xmlRequest.open("GET", feedURL, true);*
    *xmlRequest.setRequestHeader("Cache-Control", "no-cache");*
    xmlRequest.send(null);
    And then I have the regular :
    *function xmlLoaded(xmlRequest)*
    * if (xmlRequest.status == 200) {*
    * // Parse and interpret results*
    * // XML results found in xmlRequest.responseXML*
    * // Text results found in xmlRequest.responseText*
    * else {*
    * alert("Error fetching data: HTTP status " + xmlRequest.status);*
    But nothing happens, never, I am just starting with javascript so I am not an expert!

    I just need some help with Dashcode and javascript. I'm trying to make a simple request (to login) and I am unable to make it work.
    I can usually get client-side JavaScript working but I have no experience of XML or Dashcode.
    My browser could not find the page at your long URL. It would help if you could point to a page on a working server.
    I can see a lot of asterisks in your post. What are they for?
    if(userInfo.value!="")
    I have doubts about this. Perhaps it should it be !userInfo.value and I am not sure if simply testing for "" always works.
    Perhaps try starting with a conventional HTML form and gradually add JavaScript to it.

  • From Dedicated Technologies, Inc. seeking a LiveCycle Developer

    Dedicated Technologies, Inc. (DTI) is a regional IT consulting firm based in Columbus, Ohio. We have a three-month plus engagement available for an Adobe Livecycle Forms Developer in the Columbus, OH area. Are any forum members available for this engagement? If so, please read on.
    Qualified candidates will have the following skills and experience:
    Our client has an immediate need to obtain the services of an external resource to define and implement an Electronic Forms (eForms) process that fully utilizes Adobe LiveCycle software(i.e. Designer, Reader Extension, Barcode, Form Manager). The external resource will guide, instruct and assist client personnel in the implementation of eForms by first defining a process to be used, assisting in the recommendation for infrastructure, selection of forms, templates, libraries and defining roles and responsibilities for client employees.
    Requirements:
    Candidates must have the following skills and experience:.
    Process:
    *Implementing similar or greater process for an organization with more than 200 forms
    *Implementing Web Services as a front end for eSubmit
    *Software Development Methodology
    Adobe LiveCycle Software:
    *LiveCycle Designer
    *LiveCycle Form Manager
    *LiveCycle Reader Extension
    *LiveCycle Workflow (Not required but a plus)
    Project Skills:
    *Developing complex processes
    *Troubleshooting and problem solving
    *Interpreting results
    *Excellent communication skills
    *Performance tuning and stress testing
    *Team leadership and instruction
    Client Environment:
    *Experience with any Source Configuration Management tool preferably Serena Changeman
    Environment:
    The client maintains hundreds of taxpayer forms. Its forms division uses Adobe PageMaker to create the forms for printing. They are also responsible for PDF, Fill-in PDF, MS Word, Excel, all of which are posted to our web site and IVR Fax Back forms. Today the fill-in forms do not contain calculations or barcodes. The client envisions the new environment to include:
    *Fewer forms types that the client must maintain
    *Calculations performed within the form
    *Data electronically sent to the client securely
    *Allow the taxpayer to save the data on his/her personal computer
    *Ease of maintenance and enhancement of forms
    The client uses WSAD 5.1.1, Webpshere Application Server 6.0 on AIX, Windows 2000 Professional, Java (J2EE and J2SE) and Serena Changeman for application development.
    Resource Deliverables:
    *Documented eForms Process
    *Documented Architecture
    *Documented Staffing Recommendations
    *Library Elements
    *Form Templates
    *Two pilot forms implemented successfully using this process
    *2D barcode specification schemas
    *Documentation and skills transfer to all client personnel related to all processes and software utilization.
    About DTI:
    DTI has a unique business model which allows us to hire the best professionals in our business. We have three practices: Project Delivery, Enterprise Support, and Development services, each of which is managed by a DTI consultant. Our consultants select who joins our team, and as a result, they only choose people with whom they would want to work after the candidates have undergone a rigorous interview process. Our employees are rewarded with interesting engagements and a very supportive work environment at DTI.
    DTI offers a competitive benefits package that includes a 401k plan with an employer match, health, life, dental, and vision insurance, a long-term disability plan, employee and marketing referral bonuses, a paid time off plan, parking reimbursement, discounted legal and financial services, and discounted health club memberships.
    For more information about DTI, please visit our web site at:
    www.dedicatedtech.com
    For immediate consideration, please submit your resume to: [email protected]

    I am not a developer. I am an aspiring author
    researching the lives of Java developers for a
    fiction project. One of the characters I am
    developing IS a Java developer - NOT a MS/.Net
    developer. I would greatly appreciate info about
    being a Java (and/or related technology) developer.What's there to say? It sucks.
    The content can be very technical but should have
    some "leisure time" posts. I work around these
    technologies from the marcom perspective, so I
    understand a certain level of what is being
    discussed. I am really inspired by the wit, spirit,
    passion (and sometimes 'disgruntledness') inherent to
    the world of Java developers.Eh?

  • I feel like this is fast/easy to solve, but I'm stuck AS 3 problem

    I thought I'd teach my grade 10 programming class Action Scripting 3.0. We've already gone through SmallBasic and they understand conditional logic, looping etc.. to give you a bit of background so I thought we'd tackle it in an OOP language.
    I haven't tackled A.S. since back in 2.0 and I think maybe I'm missing something. I used this tutorial as a foundation and updated it to reflect AS3.0 for my course notes.
    That said, when making their quiz, (a simple 2 question quiz that tallies the score at the end of the quiz) I keep getting a logic error. Everything runs smoothly using the controls, I'm getting the variables return properly to the Interpreter pane, but the logic evaluation at the end returns a glitch where it counts against my last clicked value and uses it twice to evaluate truth. Likely I'm missing something simple and it'll take somebody who knows Flash well about 3 seconds to ID my problem.
    Thanks in advance.
    FLA file if you want to browse it:
    FLA file
    SWF file if you want to view that:
    SWF file
    If you don't want to dload the files then here's AS code at the 3 locations (q1, q2, quizEnd)
    Code Block 1 at frame 1:
    // Initialize main timeline variables
    // next, create variables to store user's answers:
    var q1Answer;          // User's answer for question 1
    var q2Answer;          // User's answer for question 2
    //next, create a variable to track number of questions answered correctly:
    var totalCorrect = 0;  // Counts number of correct answers
    //finally, stop the movie at the first question:
    stop();
    choice1_btn.addEventListener(MouseEvent.CLICK, answer1);
    function answer1(event_object:MouseEvent){
    q1Answer = 1;
    gotoAndStop("q2");
    trace(q1Answer);
    choice2_btn.addEventListener(MouseEvent.CLICK, answer2);
    function answer2(event_object:MouseEvent){
    q1Answer = 2;
    gotoAndStop("q2");
    trace(q1Answer);
    choice3_btn.addEventListener(MouseEvent.CLICK, answer3);
    function answer3(event_object:MouseEvent){
    q1Answer = 3;
    gotoAndStop("q2");
    trace(q1Answer);
    Code Block 2 at frame 10
    choice1_btn.addEventListener(MouseEvent.CLICK, answer21);
    function answer21(event_object:MouseEvent){
    q2Answer = 1;
    gotoAndStop("quizEnd");
    trace(q2Answer);
    choice2_btn.addEventListener(MouseEvent.CLICK,answer22);
    function answer22(event_object:MouseEvent){
    q2Answer = 2;
    gotoAndStop("quizEnd");
    trace(q2Answer);
    choice3_btn.addEventListener(MouseEvent.CLICK,answer23);
    function answer23(event_object:MouseEvent){
    q2Answer = 3;
    gotoAndStop("quizEnd");
    trace(q2Answer);
    Code Block 3 at frame 20
    if (q1Answer ==  3) {
      totalCorrect = totalCorrect + 1;
      trace("Value for Q1 is 1 point");
      } else {
              trace("Wrong answer #1 " + q1Answer);
    if (q2Answer == 3) {
              totalCorrect++; //simply adds 1 more to the previous value of totalCorrect//
              trace("Value for Q2 is 1 point");
    } else {
                  trace("Wrong answer #2 " + q2Answer);
    //displays final score on interpreter
    trace("Your total is "+totalCorrect+"/2 points");
    //displays the answer on the stage
    var txtFld:TextField = new TextField();
    addChild(txtFld);
    txtFld.text = ("Your total is" + totalCorrect);
    txtFld.appendText ("/2 points");
    //extra bits to un-comment once text output is understood
    //txtFld.wordWrap = true;
    //txtFld.textColor = 0xFF00FF
    //txtFld.width=150
    //txtFld.height = 60

    Let's say I click on button1 at frame 1 returning a value for q1Answer as 1, then button 3 at frame 10 returning a value for q2Answer as 3, I'll get both questions marked as right. Button 3 is the "right button" in each case so only q1Answer = 3 and q2Answer=3 should be correct.
    Here's the trace output if I click as above:
    1
    3
    Value for Q1 is 1 point
    Value for Q2 is 1 point
    Your total is 2/2 points
    3
    If I click on 1 and 2 say instead, here's the Interpreter result:
    1
    2
    Wrong answer #1 2
    Wrong answer #2 2
    Your total is 0/2 points
    2
    Mystifying.
    kglad wrote:
    looks ok.
    which trace is giving an unexpected result?

  • New Mem Problem - NEO-FIS2R

    So, I've had Corsair CMX512-3200LLPRO - 512MB 400MHz x2 forever, and never had any problems with them. Last night I replaced these with TWINX2048-3200C2PRO (http://www.newegg.com/Product/Product.aspx?Item=N82E16820145587.)
    I immediately started having a problem - when I would restart the computer, it'd shut down normally, and while the "innards" of the computer were all on and running, the monitor would go black, and nothing would happen. I found that if I hit the reset switch, I'd get a normal boot up.
    With a little experimentation, I found that I could restart properly if Cool & Quiet was disabled in the bios. I also tried Memtest, but while I believe I got a ton of memory errors, I don't really know how to work Memtest, and sure don't know how to interpret results (I was running Memtest off a boot CD).
    Any ideas on what I should test for, or change, or suspect?
    Help would as always be greatly appreciated.

    So, good news and bad news!
    I got my two new sticks of RAM. Newegg.com wouldn't send the new RAM until it received the defective RAM, and this annoyed me a bit so I bought the new sticks from a different vendor (ZipZoomFly).
    First thing I did with the NEW new RAM was to make sure the timings and voltage were correct in the bios, then I ran Memtest to check them. Memtest gave the RAM a clean bill of health, so I booted to the desktop, and used the comp for hours afterwards. All went perfectly.
    That's the good news. Not a single error or crash, which happened all the time with the OLD new RAM.
    The bad news is that when the computer is restarted, just like before it won't boot to the desktop. Instead, it seems to go to sleep. I can hit the reset button and then it'll boot to desktop. This only happens when Cool & Quiet is enabled, however. When it isn't, everything works as it should.
    It bothers me that I can't have C&C enabled (even though my comp doesn't seem to run cooler OR quieter with it), but I'm content as long as I'm not crashing, and I'm not.
    Anyway, if anyone has anything more for me to try, I'd love to try it, but for now, I'm fine running with C&C disabled.
    Thanks again for your input thus far!

  • K8N Neo2 Platinum MB + SATA Hard Disks

    Hi,
    I would like to use some additional disk in my PC and therefore buy SATA disks.
    The OS is WIN XP Pro and I want to keep my IDE configuration which is:
    C:\ = IDE hard disk Primary Master
    E:\ = IDE hard disk Prmary Slave
    D:\ = DVD Secondary Master
    F:\ = IDE hard disk secondary slave
    and to this I want to add just as data storage  SATA 300GB hard disks (¿ up to 4 ? is that possible ?)
    regards Rainer

    I am not familiar with K8N Neo2-F so consult your manual to confirm my answers to your questions:
    1- "Is this also the case for the SATA connectors on the K8N Neo2-F ??" Highly likely since your motherboard is a stripped down version of the Neo2 Platinum.
    2- "And do SATA 1&2 require different drivers than 3&4?"  For normal SATA operation these SATA drives are respectively contol by your NF3 chipset and you Realtek chipset. When you install or update your Nvidia & Realtek driver package you install all that is required to run normal SATA operation. Should you decide to use a RAID configuration with your SATA drive then another RAID specific driver would have to be installed at system level.
    3- "Also, is there a significant increase in performance when going from PATA to SATA on this series of mobos?" My answer does not take into account RAPTOR HDs which are in a super class of their own. Medium to High end latest PATA & first generation SATA HDs in the 7200 RPM class are promoted by their OEM as having respective top transfer speeds of 133 and 150 MB/s. Comparing my  Seagate 120 gigs PATA HD to my other two Seagate 200 gigs SATA HDs is not very scientific since  they are not all 200 Gigs. Therefore use discretion interpreting results.
    a. PATA - Peak transfer = low eighties ; Steady Transfer = high sixties
    b. SATA -  Peak transfer = mid nineties ; Steady Transfer = low eighties
    It has ben a while since I did these PATA/SATA test so I  am working from memory only. One thing that however sticks in my mind is that the delta between my PATA & SATA drives, for peak and steady performance, was very close to 12 MB/s in favor of first generation SATA. Could this be possibly related to (150-133), I do not know for sure.
    SATA II generation are now coming to market. These new generation SATA II drives will most likely widen the performance gap between them and older SATA I or PATA drive.
    Take good care,

  • I followed previous keylogger detection instructions from an older post - how do I interpret the results that appeared in Terminal?

    I have a Macbook pro that I suspect my exhusband installed keylogger software on.  I followed the keylogger detection instructions posted on an older post, but I do not know how to interpret the Terminal results.  What should I be looking for in the strings that result?

    You don't have an off-the-shelf commercial keylogger installed. I can't rule out a well-hidden rootkit. That would only be possible If the attacker is a computer expert, or if he had help from an expert. If you suspect that, you'll either have to consult an expert yourself or (less expensively) erase your hard drive, reinstall OS X and all your other software from known-good copies, and restore only your documents and settings from a backup.
    I should add that there are hardware keyloggers on the market that don't install any software at all. The cheap ones can't be accessed remotely, but with enough money you can buy pretty much anything. A highly motivated attacker could plant listening devices in your home, your car, or your office.

  • HT1883 How can I interpret the results of a hardware test?

    I ran a hardware test because the computer has been running extremely slowly of late (it failed the test) , and need some help interpreting the results :/failure
    This is the failure code, if it helps:
    4MOT/2/40000004: HDD-1607

    MOT usually refers to the fan motor, in this case the one for cooling the Hard Drive.
    Still need to take it in for a fix!

Maybe you are looking for

  • SFP : Error in opening document (Layout)

    Hi All, A SFP form was developed in Language "DE"; when I try to open the layout of the SFP (logged on using EN); I get the error "Error while opening document" and the form is not opened. But when the same layout is opened with a logon using languag

  • How to create 2 Work Manager Apps on SMP Server (Agentry)

    Hi All, I encountered a problem with my SMP 2.3 SP3 in combination with Agentry  6.1.. and Work Manager 6.0. I have an already working version of WorkManger on my SMP Server on port 7003, but whenever I create another WorkManager version on a differe

  • BADI or User Exit for VF04

    Dear All, I want to stop the split of Invoice of the same customer. Can anyone know the BADI or User Exit to Implement this? Please help ASAP. Thanks in advance. Best Regards, Prasad

  • I Know, this is stupid, but how do I add a scanner?

    I'm a new convert to Apple. Please be gentle. I knew how to add peripherals with Windows, but I feel like a child now with this iMac. I just need to "add hardware." Am I missing something? I just want to add a scanner...

  • Sqlldr80 error

    Hello, I'm used Sqlldr80 on Oracle 8i and dispayed: "SQL*Loader: Internal error: ulconnect: OCISessionBegin [-1] Help me, Thanks you