Professional Documents
Culture Documents
UMRAKH
SUB: CPPM
SHORT QUESTIONS
Page 1 of 39
Example:
FYBCA (SEM: I)
Page 2 of 39
Page 3 of 39
FYBCA (SEM: I)
Page 4 of 39
Page 5 of 39
Use
FYBCA (SEM: I)
Page 6 of 39
The Off page Connector Symbols are used to indicate the flowchart
continues on another page (Different Page).
The Flow line connector shows the direction that the process flows.
Page 7 of 39
Page 8 of 39
FYBCA (SEM: I)
Page 9 of 39
Page 10 of 39
FYBCA (SEM: I)
Page 11 of 39
FYBCA (SEM: I)
Page 12 of 39
Page 13 of 39
Page 14 of 39
FYBCA (SEM: I)
Page 15 of 39
FYBCA (SEM: I)
Page 16 of 39
FYBCA (SEM: I)
Page 17 of 39
Page 19 of 39
FYBCA (SEM: I)
Page 20 of 39
Page 21 of 39
FYBCA (SEM: I)
Page 22 of 39
Page 23 of 39
FYBCA (SEM: I)
Page 24 of 39
Page 25 of 39
FYBCA (SEM: I)
Page 26 of 39
Page 27 of 39
FYBCA (SEM: I)
test
Page 28 of 39
Page 29 of 39
FYBCA (SEM: I)
Page 30 of 39
FYBCA (SEM: I)
Page 31 of 39
FYBCA (SEM: I)
Page 32 of 39
Page 33 of 39
Page 34 of 39
FYBCA (SEM: I)
Page 35 of 39
FYBCA (SEM: I)
Page 36 of 39
goto
goto is a jumping statement.
Syntax:
goto label;
.
.
label:
Example:
void main()
{
int i=1;
clrscr();
a:
if(i<=5)
{
printf("%d",i);
i++;
goto a;
}
getch();
}
Output;
12345
Que: How can you assign hexadecimal and octal value to integer value?
Ans: To write numbers in octal, precede the value with a 0. Thus, 023 is 238 (which is 19 in
base 10).
To write numbers in hexadecimal, precede the value with a 0x or 0X. Thus, 023 is 2316
(which is 35 in base 10).
Que: Explain any two string function.
Ans:
strlen()
strlen() function calculates the length of string.
Syntax:
int strlen(string_name);
here string_name is the string which we want length
Function strlen() returns the value of type integer.
Example:
void main()
{
char c[30]="CPPM";
printf("%d",strlen(c));
}
Output:
4
strupr()
FYBCA (SEM: I)
Page 38 of 39
FYBCA (SEM: I)
Page 39 of 39