String Functions
String functions are used to manipulate strings. A string can defined as set of alphanumeric characters. This note provides an information about String Functions .
Summary
String functions are used to manipulate strings. A string can defined as set of alphanumeric characters. This note provides an information about String Functions .
Things to Remember
- String functions are used to manipulate strings.
- LEFT$ Function returns specific number of characters from left side to supplied string and returns the value.
- RIGHT$ Function returns specific number of characters from right side to supplied string and returns the value.
- MID$ Function returns the specified number of characters from the specified location of a string.
MCQs
No MCQs found.
Subjective Questions
Q1:
Calculate the three fundamental trigonometric ratios for the acute angle x of each of the folllowing triangles expressing them in the lowest terms and correct to two decimal places.

Type: Short Difficulty: Easy
Q2:
Find out the third side by using Pythagoras theroem and then calculate sin x , cos x and tna x.

Type: Short Difficulty: Easy
Q3:
Find out the third side by using Pythagoras theorem :

Type: Short Difficulty: Easy
Q4:
Find out the third side by using Pythagoras theorem.

Type: Short Difficulty: Easy
Q5:
Find the third side by using Pythagoras theorem,

Type: Short Difficulty: Easy
Q6:
Calculate the value of given equations :
1. cos60o \(\times\) sin 60o
Type: Very_short Difficulty: Easy
Q7:
2cos60o \(\times\) sin30o
Type: Very_short Difficulty: Easy
Q8:
Calculate the value of given equation:
sin45o \(\times\) 2cos45o
Type: Very_short Difficulty: Easy
Q9:
Calculate the value of given equations :
tan45o + sin 30o
Type: Very_short Difficulty: Easy
Q10:
Find the values of the given equation :
sin230o + sin245o + sin260o
Type: Short Difficulty: Easy
Q11:
Solve:
cos\(\beta\) = \(\sqrt{3}\) cos60o
Type: Short Difficulty: Easy
Q12:
In a right angle ABC , AC = 30 , A = 30o , B = 60o . What is the length of BC ?

Type: Long Difficulty: Easy
Q13:
In the adjoining figure , AB = 6 cm , BC = 8 cm , ABC = 90o , BD⊥AC and ABD = \(\theta\). Calculate the value of sin\(\theta\).

Type: Long Difficulty: Easy
Q14:
In the adjoining DEF , DG⊥ EF. If DE = EF = FD = x,
prove that : cos\(\theta\) = \(\frac{\sqrt{3}}{2}\).

Type: Long Difficulty: Easy
Q15:
Solve :
4 sin2\(\beta\) = 1.
Type: Short Difficulty: Easy
Videos
Basic trigonometry | Basic trigonometry | Trigonometry | Khan Academy
the BASICS of TRIGONOMETRY (Review and Tutorial)
Basic Trigonometry

String Functions
String functions are used to manipulate strings. A string can defined as set of alphanumeric characters.
Some of the strings manipulating functions are as follows:
- LEFT$ Function: It is a string function that returns specific number of characters from left side to supplied string and returns the value.
- RIGHT$ Function: It is a string function that returns specific number of characters from right side to supplied string and returns the value.
- MID$ Function: IT returns the specified number of characters from the specified location of a string.
- UCASE$ Function: It returns a string expression with all letters in uppercase.
- LCASE$ Function: It returns a string expression with all letters in lowercase.
- CHR$ Function: IT retrieves the single characters and returns a character of the corresponding ASCII code in decimal.
- STR$ Function: It converts a numeric expression into its string data returns the string value.
- LTRIM$ Function: It removes trailing blank spaces from the left side of the string expression.
- SPACE$ Function: It returns a number of spaces.
- INSTR Function: It returns the position of first occurrence of a string in another string.
- STRING$ Function: It is used with a PRINT statement that displays a particular character a specified number of times.
- INKEY$ Function: It reads a character from the keyboard and returns the character.
- INPUT$ Function: It returns a string of characters read from the specified file.
- DATE$ Function: It returns the current system date of computer in string format in the form of MM/DD/YYYY.
- TIME$ Function: It returns the current system time of computer in string format in the form of HH:MM:SS.
Lesson
Modular Programming in QBASIC
Subject
Computer Science
Grade
Grade 10
Recent Notes
No recent notes.
Related Notes
No related notes.