tricky exam q's in c/side

navy
Member Posts: 2
can anyone pls tell me the answer to these tricky exam question:
1)Which of the following statement is invalid when it comes at the end of the trigger:
a) EXIT(TRUE);
B)EXIT(Amount);
C)EXIT=TRUE;
D)EXIT.
2)which statement is false
a)codeunits can be run from other codeunits
b)object can be run from codeunits.
c)codeunits can be run from objects.
d)codeunits can be run from object designer
WITH REGDS,
Navy
1)Which of the following statement is invalid when it comes at the end of the trigger:
a) EXIT(TRUE);
B)EXIT(Amount);
C)EXIT=TRUE;
D)EXIT.
2)which statement is false
a)codeunits can be run from other codeunits
b)object can be run from codeunits.
c)codeunits can be run from objects.
d)codeunits can be run from object designer
WITH REGDS,
Navy
0
Comments
-
I think it's B and C0
-
The answer to question 1 is C.There are no bugs - only undocumented features.0
-
I think the answer to the second question is D.0 -
I will not repy, because my reply would upset some people.David Singleton0
-
-
DenSter wrote:By all means David, I like it when you do
Having just been robbed of just about every thing I have, I am just thankfull that I have my sense of humour left; which no one will steal.
But yeah its starting to get beyond funny, when people ask not how to learn, but ask how to pass exams.
Navy this forum is just full of great people that will help you to bcomea great Navision implmentor, consultant, developer etc. Try to ask questions that show you want to learn WHY navision does it that way, try to understand the phylosophy of the product, its direction and its future. Just learning A, B, C or D is not going to get you there.David Singleton0 -
1.C
When any code comes at end it can Exit a variable (Exit(Amount)) and it can return a true or false value (Exit (True)) and it can simply return the execution to parent trigger by simply writing Exit but the Statement Exit=True does not mean anything.
:P
2.D
Codeunits cannot be run from Object Designer [-X 8)0 -
codenits can be run from object designer. for example find codeunit 419 and click on run. in object designer.0
-
mbs_ashwani wrote:Codeunits cannot be run from Object Designer [-X 8)0
-
David Singleton wrote:But yeah its starting to get beyond funny, when people ask not how to learn, but ask how to pass exams.
Navy: A! No wait, B!0 -
ROTFLOL =D>No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
DenSter wrote:David Singleton wrote:But yeah its starting to get beyond funny, when people ask not how to learn, but ask how to pass exams.
Navy: A! No wait, B!
I gotta agree with Luc, that is just so funny, and really just sums it all up.David Singleton0 -
I am again saying that Codeunits cannot be run thru Object designer.
bcoz the ID 419 you r talking about runs the Setup Checklist Wizard Intro FormID 596..so my dear it is a form not a Codeunit itself.
ara3n wrote:
codenits can be run from object designer. for example find codeunit 419 and click on run. in object designer.
Really? wow. I guess that has been my imagination then all these years of running codeunits from the object designer.0 -
Of course you can run Codeunits from Object Designer.
In place of making lot of "blabla ..." , did you have try ?
One example : create a new CodeUnit with :
Item.FIND('-');
MESSAGE('%1',Item."No.");
Save it and run it direcly from the Object Designer .
Work it ? Yes, definitively yes ...0 -
And to answer to the original question :
No answer is right, as for some questions in the exams, certainly written by a Navision unspecialist...0 -
Maybe the answers given are not the correct answers from the exam:
I had the same question, but one answer included a 'local codeunit'. That answer, I guess, was the right answer (because i 'guessed' it on my exam and scored 100% for the codeunits part of the exam) [not for the whole exam, d*mn :-(].Bohr-ing.0 -
navy wrote:can anyone pls tell me the answer to these tricky exam question:
1)Which of the following statement is invalid when it comes at the end of the trigger:
a) EXIT(TRUE);
B)EXIT(Amount);
C)EXIT=TRUE;
D)EXIT
Hi, Try to compile each statement , you will see that statement C won"t
2)which statement is false
a)codeunits can be run from other codeunits
b)object can be run from codeunits.
c)codeunits can be run from objects.
d)codeunits can be run from object designer
Hi, Go in the object designer, create a codeunit and try to run it with CTRL+R 8-[
The best way to find the answer is to practice it in navision it selves.
Passing the exam will not prove that peole are good structured programmers !!!!!!
Good Luck,
William
WITH REGDS,
Navy0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions