0% found this document useful (0 votes)
5 views6 pages

Second Semester Programming Question Bank

This document presents a question bank on introduction to programming. It contains 30 questions on basic concepts such as what an algorithm is, how it is represented, programming tools like pseudocode and flowcharts, data types, variables, constants, control structures, and more. The questions are designed to assess understanding of these programming fundamentals.

Translated by

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

Second Semester Programming Question Bank

This document presents a question bank on introduction to programming. It contains 30 questions on basic concepts such as what an algorithm is, how it is represented, programming tools like pseudocode and flowcharts, data types, variables, constants, control structures, and more. The questions are designed to assess understanding of these programming fundamentals.

Translated by

ScribdTranslations
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

QUESTION BANK SECOND SEMESTER 2015

SUBJECT: INTRODUCTION TO PROGRAMMING


SPECIALTY: SYSTEMS ENGINEERING
1. WHAT IS AN ALGORITHM?

It is a process of executions.
It is a series of detailed executions that do not serve to execute.
processes
It is a series of detailed and unambiguous operations to execute step
steps that lead to the resolution of a problem

2. HOW AN ALGORITHM IS REPRESENTED

Through a tool or technique


~By execution
~Through a paper
Through algebraic processes

3. WILL THE ALGORITHM BE TRANSFORMED INTO A PROGRAM OF


COMPUTER?

~False
=True

4. THE TOOLS OR TECHNIQUES OF PROGRAMMING


WHAT ELSE IS USED AND WILL BE USED FOR THE
REPRESENTATION DE ALGORITHMS SON TWO
SELECT THEM
C++ and Cobol language
Analysis and Flow Chart
Pseudocode and Flowcharts.
~Venn diagrams and calculations

[Link] ARE IDENTIFIERS


They are numbers
They are structures

They are the names assigned to the objects


None of the above

6. WHAT IS A CONSTANT

Constant is a value that is in the machine


Value assigned that does not change during the execution or process of
solution of the problem
~Value that varies throughout the execution

7. WHAT IS A VARIABLE
They are values that do not change

Value assigned that does not change during execution or process


solution to the problem
They are all those objects whose value changes during execution or
problem solving process

8. SELECT AN EXAMPLE OF CONSTANT{

=PI=3.1416
~A
None

9. TYPES OF VARIABLES
Whole numbers and Numerals

~Statements
Integer, real and string

10. WHAT ARE INTEGER TYPE VARIABLES


Those that are strings or character strings

All those whose value does not have decimal values

11. WHAT IS A PSEUDOCODE


Pseudocode is a series of detailed languages such as C++ and
clear paths that lead to the resolution of more than one problem

Pseudocode is a series of well-detailed and clear steps that


lead to the resolution of a problem

12. IS PSEUDOCODE ONE OF THE TOOLS


MORE KNOWN FOR THE SOLUTION DESIGN OF
PROBLEMS?
~False
=True}

13. SELECT THE CONCEPT CORRECT This


TOOL ALLOWS TO PASS ALMOST DIRECTLY THE
SOLUTION OF THE PROBLEM TO A PROGRAMMING LANGUAGE
SPECIFIC

~Analysis
Pseudocode
~Link diagrams
None of the above

14. SELECT THE CORRECT OPERATION THAT ALLOWS YOU TO


SUM TWO ANY NUMBERS

~a+b
~c*v
~r=a/5
=r=a+b}

15. SELECT THE CORRECT ASSIGNMENT TO DIVIDE


A NUMBER

~9/8
~r=h-5
None is the correct one.

16. IF N1 IS GREATER THAN N2, INDICATE WHICH ONE IS


INSTRUCTION SUITABLE TO CHECK SAID
QUESTION
N1 is greater than N2
~N1<N2}

17. TRUE OR FALSE QUESTION: THE DIAGRAMS OF


FLOW IS A TOOL THAT ALLOWS REPRESENTATION
VISUALLY WHAT OPERATIONS ARE REQUIRED AND IN WHAT
SEQUENCE MUST BE CARRIED OUT TO SOLVE A
PROBLEM GIVEN

~False
=True

18. A flowchart is the representation


GRAPHIC USING SPECIAL SYMBOLS?
True
False

19. SELECT THE SYMBOL: GREATER THAN OR EQUAL TO {

~<=
=>=}

20. WHAT IS THE PROCESS TO DETERMINE THE AREA OF A


TRIANGLE

=a=(b*h)/2
~a=b*h/0
~a=b*2/4}

21. WHAT IS A CONTROL STRUCTURE

It refers to the programming in which operations are executed to avoid


solve the problem
It refers to the sequence in which operations or actions are carried out.
to solve the problem
22. CLASSIFICATION OF CONTROL STRUCTURES

Sequential, algorithmic, and cyclical


~Repetition, analytics, and flowcharts
Sequential, decision, and cycle or repetition

23. SCHEME OF A SYSTEM THAT TRANSFORMS THE


DATA INTO INFORMATION THROUGH A PROCESS
Entry and exit
Search and processes
Input, Process and Output
~Input, Process and Search}

24. SELECT AS APPROPRIATE: IN THIS TYPE OF


STRUCTURE THE INSTRUCTIONS ARE CARRIED OUT OR ARE
EXECUTE ONE AFTER THE OTHER

Decision Structures
Sequential Structures
~Repetitive Structures

25. TRUE OR FALSE CONTEST: ALGORITHMS


THEY HAVE HOW TO ACT ON THE DATA
PROVIDED BY THE USER, TO WHOM
PROCESSES ARE APPLIED IN ORDER TO GENERATE THE
INFORMATION OR A RESULT

=True
~False}

26. It is desired to implement an algorithm to obtain the


sum of any two numbers. Select the
correct algorithm {
~Start, Read J, B, Make H = A + J, Write B, End
=~Start, Read A, B, Do S = A + B, Write S, End.
~Start, Read a, Set H = a + a, Write H, End}
27. THE NUMBER 24 WHAT TYPE OF DATA SHOULD IT BE

Statement
Alphanumeric
=Numeric}

28. What is a selective structure?


~Does not allow to say that it is true or false

Allows evaluating a variable or constant as true or false.

29. WHAT ARE NULL VALUES


It is a variable with a value of 2

It is a variable with no defined type.

30. WHAT ARE THE TYPES OF NUMERIC DATA

Alphanumeric and Integers


~Enteros and Chart
Integers and Real Numbers

None of the above

You might also like