Answer the following statements true (T) or false (F)

1. Some operations can be performed on strings, but not on a control’s Text property.
2. You can clear the contents of a Text Box control in the same way that you clear the contents of a Label control, by assigning an empty string to the control’s Text property.
3. Programs use data types to store data in memory.
4. In C#, you must declare a variable in a program before you can use it to store data.


1. FALSE
2. TRUE
3. FALSE
4. TRUE

Computer Science & Information Technology

You might also like to view...

How many bits are in four bytes?

A. 32 B. 64 C. 16 D. 8

Computer Science & Information Technology

Modify the Craps Game application from Tutorial 15 to use the Java Speech API. The completed application is shown in Fig. 28.19


a) Copying the template to your working directory. Copy the C:Examples Tutorial28ExercisesCrapsGameEnhancement directory to your C:SimplyJava directory.
b) Opening the template file. Open the CrapsGame.java file in your text editor.
c) Importing Java Speech API packages. Import the javax.speech and the javax.speech.synthesis packages.
d) Declaring instance variables. Above the CrapsGame constructor, declare an instance variable of type Synthesizer, which is used to speak text.
e) Creating a Synthesizer object. Inside the CrapsGame constructor, create a Synthe- sizer object, allocate the resource and prepare the synthesizer to speak.
f) Adding code to the instructionsJButtonActionPerformed method. Find the instructionsJButtonActionPerformed method, which immediately follows createUserInterface. Add code to the instructionsJButtonActionPerformed method so that the speech synthesizer speaks the instructions of the game.
g) Adding code to the playJButtonActionPerformed method. Find the playJButtonAct

Computer Science & Information Technology

Which of the following is NOT a chart variation option?

A) Stacking chart data B) Changing 2-D formatting to 3-D formatting C) Changing the marker shape D) Changing from a pie chart to a doughnut chart

Computer Science & Information Technology

If you have text formatted the way you like, you can use the Format Painter to copy the formatting of that text to other text.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology