Computer Programming (3310701) MCQs

MCQs of Flowchart and Algorithm

Showing 1 to 10 out of 39 Questions
1.

The _______ provides pictorial representation of given problem.

___________ એ આપેલા પ્રોબ્લેમ નું પીકચોરીઅલ રિપ્રેઝન્ટેશન કરે છે.

(a)

Algorithm

અલ્ગોરિધમ

(b)

Flowchart

ફલોચાર્ટ

(c)

Pseudocode

સ્યુડોકોડ

(d)

Program

પ્રોગ્રામ

Answer:

Option (b)

2.

_______ is a procedure or step by step process for solving a problem.

_______ એ પ્રોબ્લેમ સોલ્વ કરવા માટેની પ્રોસિજર અથવા સ્ટેપ બાય સ્ટેપ પ્રોસેસ છે.

(a)

Algorithm

અલ્ગોરિધમ

(b)

Flowchart

ફલોચાર્ટ

(c)

Pseudocode

સ્યુડોકોડ

(d)

Program

પ્રોગ્રામ

Answer:

Option (a)

3.

The _______ symbol is used to represent decision in flowchart.

_______ સિમ્બોલ નો ઉપયોગ ફ્લોચાર્ટમાં ડિસિઝનને દર્શાવવા માટે થાય છે.

(a)

Oval

ઓવલ

(b)

Rectangle

રેક્ટેન્ગલ

(c)

Diamond

ડાયમન્ડ

(d)

Arrow

એરો

Answer:

Option (c)

4.

While writing an algorithm, steps are written from __.

અલ્ગોરિધમને લખતી વખતે, સ્ટેપ્સ __ રીતે લખાય છે.

(a)

Top to Bottom

ટોપ ટુ બોટમ

(b)

Left to Right

લેફ્ટ ટુ રાઈટ

(c)

Right to Left

રાઈટ ટુ લેફ્ટ

(d)

It depends on the author of the algorithm

તે અલ્ગોરિધમ ના ઓથર પર ડિપેન્ડ કરે છે

Answer:

Option (a)

5.

Which of the following is not a characteristic of an algorithm?

નીચેનામાંથી કઈ અલ્ગોરિધમની લાક્ષણિકતા નથી?

(a)

Input & Output

ઇનપુટ અને આઉટપુટ

(b)

Finiteness

ફાઇનાઇટનેસ

(c)

Infiniteness

ઈનફાઇનાઇટનેસ

(d)

Definiteness

ડીફાઇનાઇટનેસ

Answer:

Option (c)

6.

The circle symbol represents ___ operation in flowchart.

સર્કલ સિમ્બોલ ફ્લોચાર્ટમાં ___ ઓપરેશન દર્શાવે છે.

(a)

Start/end

સ્ટાર્ટ / એન્ડ

(b)

Connector

કનેક્ટર

(c)

Input/output

ઇનપુટ / આઉટપુટ

(d)

Flow direction

ફલૉ ડાઇરેક્સન

Answer:

Option (b)

7.

Step 1: Start
Step 2: Initialize area<-0
Step 3: Read l and b
Step 4: Calculate area<-l*b
Step 5: Print area
Step 6: Stop

This is the algorithm of ____________ .

આ ____________ નો અલ્ગોરિધમ છે.

(a)

Area of Circle

એરિયા ઓફ સર્કલ

(b)

Area of Rectangle

એરિયા ઓફ રેક્ટેન્ગલ

(c)

Area of Square

એરિયા ઓફ સ્કવેર

(d)

Area of Semi-circle

એરિયા ઓફ સેમી-સર્કલ

Answer:

Option (b)

8.

Which of the following is not a disadvantage of an algorithm?

નીચેનામાંથી કયો અલ્ગોરિધમનો ગેરફાયદો નથી?

(a)

Time Consuming

ટાઈમ કન્ઝ્યુંમિંગ

(b)

Difficult to show branching and looping

બ્રાન્ચીંગ અને લૂપિંગ બતાવવું અઘરું છે

(c)

"goto" makes hard to trace some problems

"ગોટુ" કેટલીક સમસ્યાઓ ટ્રેસ કરવાનું મુશ્કેલ બનાવે છે

(d)

Easy to debug

ડિબગ કરવું સહેલું છે

Answer:

Option (d)

9.

Equation to find the number is odd ________ .

ઓડ નંબર શોધવા માટેનું equation ________ છે.

(a)

no%2=1

(b)

no%2.5=0

(c)

no%1=1

(d)

no%20=0

Answer:

Option (a)

10.

Which of the following is algorithm to find entered two numbers are same or not?

એન્ટર કરેલ બે નંબર સરખા છે કે નહીં તે શોધવા માટેનો અલ્ગોરિધમ કયો છે?

(a)

Step 1: Start
Step 2: Read a,b
Step 3: If a<- b, goto 5
Step 4: Both are same, goto 6
Step 5: Both are different
Step 6: Stop

(b)

Step 1: Start
Step 2: Read a,b
Step 3: If a ->b, goto 5
Step 4: Both are same, goto 6
Step 5: Both are different
Step 6: Stop

(c)

Step 1: Start
Step 2: Read a,b
Step 3: If a=b, goto 5
Step 4: Both are same, goto 6
Step 5: Both are different
Step 6: Stop

(d)

Step 1: Start
Step 2: Read a,b
Step 3: If a==b, goto 5
Step 4: Both are same, goto 6
Step 5: Both are different
Step 6: Stop

Answer:

Option (c)

Showing 1 to 10 out of 39 Questions