Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Questions ware Design Senior Test (Rev. Spring 2014) Multiple Choice ldentify the choice that best completes the statement or answers the question 1. Which

Programming Questions

image text in transcribed

image text in transcribed

ware Design Senior Test (Rev. Spring 2014) Multiple Choice ldentify the choice that best completes the statement or answers the question 1. Which expression in C or C+++ or Java is the same as (i-) (i=i-1) d. None of the above 2. Which expression in C or C++ or Java is that same as (i+ 1) +ti Both a and b None of the above c. d. 3. What is the purpose of the "," and { a "with"} "in C, C++ or Java. The"," is wasted syntax in C, C++ and Java. It is never really needed. The"[" with "" are there to mark where to change the indentation The "," separates commands. It is not needed for single commands and with "" marks the end of a command with only one element; with them the semicolon is only needed between commands. The "(" marks the beginning of a c. The","marks the end of a command, and "" with "" allows a list to be used instead of a single command, creatinga block of commands. b d. command, and the " marks the end. the "" separates commands in the middle. In Java, there is an indentifier "System" What kind of Java identifier is this? a. b. 4. An interface An instance object of a class c. A class d. A variable 5. In java, a pop up menu is a subclass of menu with a different show method (the show method in menu has been deprecated). This method a. has new parameters that give the replaces the old show method (ie it has the same protoype) has parameters that specify its position on the screen c. conditions for when it should pop up has a different return value b. d. In order to write a file on the server: a. b. 6. You can use javascript directly You can use an XML schema directly You can use an applet directly c. d. You can use a PHP fwrite) function directly so that buttons will do something all of the above The Button class has these methods: setActionCommand, getActionCommand, and addActionListener a. 7 to allow the programmer to specify actions to control the dispatch of action events c. b. d

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions