logo

Crowdly

Browser

Add to Chrome

G10 Information Technology 2025-01

Looking for G10 Information Technology 2025-01 test answers and solutions? Browse our comprehensive collection of verified answers for G10 Information Technology 2025-01 at campus.uctonlinehighschool.com.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Select the correct option that represents the syntax for creating a simple if...the statement.
0%
100%
0%
0%
View this question
Will the following if..then..else return True or False?

if (A + B) >= ((B * 3) - A) then

ShowMessage(‘True’)

else

ShowMessage(‘False’);

The values for ‘A’ and ‘B’ are 21 and 18 respectively.
0%
0%
View this question
Select the most appropriate option represented by ‘A’ to complete the flowchart. The flowchart represents an algorithm to withdraw cash from an ATM.

0%
0%
0%
0%
View this question

What does the IN operator do in Delphi?

View this question

Which of the following functions can be used in Delphi to remove leading and trailing white space characters from a given string?

View this question

Data is a technique used by programmers to test the accuracy of information submitted by users before processing it in order to avoid frequent errors.

View this question

Study the following code snippet and choose the correct value of iY that the ShowMessage() function will output.

var

 iX, iY: integer; 

begin

 iX := (5*3-2*4) ; 

 case iX of

  1, 3, 7 : begin

               if (iX >= 3) and (iX <= 7) then

                iY := 1

               else if (iX > 1) and (iX < 3) then

                iY := 2

               else 

                iY := 3;

              end;

0, 2, 8 : begin

              if (iX >= 2) and (iX <= 8) then

                iY := 4

               else if (iX > 0) and (iX < 2) then

                iY := 5

               else 

                iY := 6;            

end;

4, 5, 6 : begin

              if (iX > 5) and (iX < 6) then

                iY := 7

               else if (iX >= 4) and (iX < 5) then

                iY := 8

               else 

                iY := 9;   

              end;

ShowMessage('The value of iY is ' + IntToStr(iY));

end;

View this question

What is the result of the following nested IF-THEN statement? 

var 

 iAge, iWeight: Integer; 

begin

 iAge := 22;

 iWeight := 75;

 if (iAge >= 18) then

  if (iWeight > 75) then

   ShowMessage('You are eligible to donate blood');

  else

   ShowMessage('You are not eligible to donate blood');

 else

  ShowMessage('You are not old enough to donate blood');

end;

0%
0%
0%
0%
View this question

Which of the following statements best describes a nested IF-THEN statement?

0%
0%
0%
0%
View this question

What is the result of the following nested IF-THEN statement? 

var

iNum1, iNum2, iNum3 : Integer;

begin

iNum1 := 5;

iNum2 := 3;

iNum3 := 8;

if (iNum1 > iNum2) then

 if (iNum2 < iNum3) then

 ShowMessage('True')

else if (iNum1 < iNum3) then

 ShowMessage('False');

100%
0%
View this question

Want instant access to all verified answers on campus.uctonlinehighschool.com?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome