Delphi | Pascal Answers

Questions: 33

Answers by our Experts: 22

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

The vowel checker was written to check whether or not a selected vowel appears in the name that is entered in the Edit component. RadioButtons are used to select the vowel.
An Edit component is used to input the name. The btnCheck and btnLength are initially disabled. The btnConvert removes the blanks and converts the string in the Edit component to UpperCase. The btnCheck will determine the position of the selected vowel, and assign the result to the caption of lblResult. The btnLength will determine the number of characters in the Edit component. If there are less than 5 the form colour is changed to red, less than 10 the colour changes to green, less than 20 the colour changes to blue and 20 or more the colour changes to yellow. The btnReset changes the form as given above.
a. Write the code for the event handler for the OnClick event of btnConvert. (5)
b. Write the code for the event handler for the OnClick event of btnReset. (5)
c. Write the code for event handler for the OnClick event of btnCheck so that the number of occurrences of the selected vowel are counted and displayed. (10)
write a program,Suppose we are given an ordered list of titles. to add information about the new book, keeping an ordered list
using the following code fragment describe the following feature:
types
field = record
vertical:(a,b,c,d,e,f,g,h);
horizontal:1...8


function of the course horse (n1, n2) tests a horse from the field to declare n1 max if the king is in the field of n2
write a pascal Program with procedure called Calculatediscount that caluculates the actual discounted price based on the day number input. the program must output the corrisponding day of the week and the price for the day?
using records write a program:Suppose we are given an array containing information about the toys: the name of toys (like dolls, blocks, ball, designer, etc.), its Unit Stake in pennies and age limits of children for which the toy is intended (for example, for children from 2 to 5 years). get information about the prices of all the cubes.
The vowel checker was written to check
whether or not a selected vowel appears in
the name that is entered in the Edit
component. RadioButtons are used to select
the vowel. An Edit component is used to
input the name.
The btnCheck and btnLength are Disabled
initially.
The btnConvert removes the blanks and
converts the string in the Edit component
to UpperCase. The btnCheck will determine the position of the selected vowel, and
assign the result to the caption of lblResult. The btnLength will determine the number of characters in
the Edit component. If there are less than 5 the form colour is changed to red, less than 10 the colour
changes to green, less than 20 the colour changes to blue and 20 or more the colour changes to yellow.
The btnReset changes the form as given above.
i) Write the code for the event handler for the OnClick event of btnConvert. (4)
ii) Write the code for the event handler for the OnClick event of btnLength so that the length of
the string is determined and the colour of the form changes accordingly. (8)
iii) Give a print screen of the interface that YOU used for the programming of this question. Marks
using records write a program:Suppose we are given an array containing information about the toys: the name of toys (like dolls, blocks, ball, designer, etc.), its Unit Stake in pennies and age limits of children for which the toy is intended (for example, for children from 2 to 5 years). get information about the prices of all the cubes.
please help.using sets: Let the text, ending with a point and consisting of the words divided by blanks. A word-sequence of latin letters. Print the words of the text having odd number in which there is no repeating letter.
help me with this problem:given a string of symbols seperated by space and ending with a point,print the symbols which are different from the last symbol and delete the symbol with the maximum length.
how can i save a screen picture every timing interval ascendent saving bmp1,bmp2,....etc
with delphi2010
LATEST TUTORIALS
APPROVED BY CLIENTS