0% found this document useful (0 votes)
20 views3 pages

Ans 2

The document contains 10 multiple choice questions about programming concepts and data types with their answers. It also contains algorithms to calculate the factorial of a number and to multiply a number by integers from 1 to 10 described in pseudocode and represented in flowcharts.

Uploaded by

Mayukh Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views3 pages

Ans 2

The document contains 10 multiple choice questions about programming concepts and data types with their answers. It also contains algorithms to calculate the factorial of a number and to multiply a number by integers from 1 to 10 described in pseudocode and represented in flowcharts.

Uploaded by

Mayukh Jain
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

ANS-1: C.

 Depends on the system/compiler

ANS-2: D. all are valid

ANS-3: True

ANS-4: a) Symbolic Data

ANS-5: b)24 BIT

ANS-6: d) Variables

ANS-7: a) True

ANS-8: d) short is the qualifier and int is the basic datatype

ANS-9: a) Enum[data type]{const1, const2, const3....}

ANS-10: a) 0 to 65,535 or 0 to 4,294,967,295

ANS 1, Algorithm:

Step 1: Start

Step 2: Assign i=1

Step 3: Read a number, num


Step 4: Repeat step 5 until i=11 reach
Step 5: Print num*i
Step 6: Stop

Flowchart
ANS 2, Algorithm

Step-1 Start

Step-2 Read number N

Step-3 FACT=1 CTRL=1

Step-4 WHILE (CTRL <= N)

DO

FACT=FACT*I

CTRL=CTRL+1
DONE

Step-5 Display FACT

Step-6 Stop,

Flowchart

You might also like