本页仅为文字内容,不可回答。

EP3: ROOT Primer (1)

您好,感谢您能抽出宝贵的时间来参与此次调查问卷!
Which of the following does NOT gives the same result as all others in ROOT?
A. TMath::Sin(3)
B. TMath::Sin((int)3)
C. TMath::Sin(3.)
D. TMath::Sin(3.f)
E. all give the same result
To implement a function f(x) = A sin(Bx + C) in the TF1 type, which of the statement of the following two methods is NOT correct?
A.The first example calculates the value of sin(2*10+3)
B.In the second example, TF1 accepts a user defined Cling function fun to define the math expression
C.In the second example, it is optional to provide the number of parameters to construct the TF1 object
D.The second example works also fine if one changes the variable name par in the first line
Which of the following file will ROOT first look into before starting a new session?
A.~/.rootrc
B. ./.rootrc
C.../.rootrc
D.$ROOTSYS/etc/system.rootrc
Which of the following description is NOT true?
A. The TRandom3::Uniform method returns a uniform deviate on the interval (x1, x2), where x1 and x2 are the given parameters
B. The TGraph2DErrors::Fit method fit a graph with a function
C. The TGraph2DErrors::GetXaxis method get the x-axis of the drawn plot
D. The TGraph2DErrors::SetPointError method set the values and errors of the given point to the graph
Which of the following script is correct to add a TGraph* type g to a TMultiGraph* class type mg?
A.g-Add(mg);
B.g-Add(*mg);
C.mg-Add(g);
D.mg-Add(*g);