Programming- Programming MCQs

Showing 30 questions (Total: 30)

35th BCS Preliminary Test #1

Back up প্রোগ্রাম বলতে কী বোঝানো হয়?

ক: নির্ধারিত ফাইল কপি করা
খ: আগের প্রোগ্রামে ফিরে যাওয়া
গ: সবশেষ পরিবর্তন Undo করা
ঘ: কোনোটিই নয়
Government Job and Other Recruitment Exams #2

কম্পিউটার সমস্যা সমাধানের উদ্দেশ্যে সম্পাদনের অনুক্রমে সাজানো নির্দেশিকাকে কি বলা হয়?

ক: সফটওয়্যার
খ: প্রোগ্রাম
গ: অপারেটিং সিস্টেম
ঘ: হার্ডওয়ার
Government Job and Other Recruitment Exams #3

কম্পিউটারের ভাষা কি বলা হয়?

ক: সাধু ভাষা
খ: লেখ্য ভাষা
গ: প্রমিত ভাষা
ঘ: যান্ত্রিক ভাষা
Government Job and Other Recruitment Exams #4

প্রোগ্রাম কি ?

ক: কথোপকথন
খ: কর্মপরিকল্পনা
গ: হিসাব নিকাশ
ঘ: গণনা কাজের সকল নির্দেশনামা
Bangladesh Bank #5

The machine readable form of a program is called as ?

A: Source code
B: Object code
C: Executable File
D: None
Sonali Bank Ltd #6

In a flowchart, a diamond generally stands for

A: Start / End
B: Decision
C: Processing
D: Input / Output
Sonali Bank Ltd #7

কোনো প্রোগ্রামের ভুল বের করাকে কি বলে?

ক: এররিং
খ: কারেক্টিং
গ: ম্যানেজিং
ঘ: ডিবাগিং
Modhumoti Bank Ltd #8

সমস্যা সমাধানের জন্য বিশেষ অনুক্রমে সাজানো কম্পিউটার নির্দেশকে কি বলা হয়?

ক: প্রক্রিয়াকরণ
খ: প্রোগ্রাম
গ: নিয়ন্ত্রন
ঘ: স্মৃতি
Janata Bank Ltd #9

which of the following is the destructor for the class Vehicle?

A: *Vehicle ()
B: -Vehicle ()
C: -vehicle (int value)
D: *vehicle (int value)
Janata Bank Ltd #10

what is the time complexity of Huffman Coding?

A: O (N)
B: O (NLogN)
C: O (N(logN)^2
D: O (N^2)
Janata Bank Ltd #11

which of the following operator functions cannot be global , ie. must be a number function.

A: Converstion Operator
B: New
C: delete
D: All of these
Janata Bank Ltd #12

which of these is not a core data type?

A: Lists
B: Dictionary
C: Class
D: Tuples
Combined Bank #13

what is the value of 'd' after this line of code has been executed ? double d = Math round ( 2.5 + math random () );

A: 2
B: 2.5
C: 3
D: 4
Combined Bank #14

what is the value of variable x after the following statement is executed in JavaScript? Var x2-'3'+'4';

A: 34
B: 7
C: Undefined
Combined Bank #15

which of the following will produce an answer that is closest in value to a double , d. while not being greater than d?

A: (int) Math . min (d);
B: (int)Math. max(d);
C: (int)Math .abs (d);
D: (int)Math.Floor(d);
Combined Bank #16

why do we need to handle exceptions?

A: To prevent abnormal termination of program
B: To encourage exception prone program
C: To avoid syntax errors
D: To save memory
Combined Bank #17

If same message is passed to objects of several different classes and all of those can respond in a different way, what is this feature called?

A: Inheritance
B: Overloading
C: Polymorphism
D: Overriding
Combined Bank #18

Source code is (n)

A: Program
B: List of commands
C: source of variables
D: Explanation of the algorithm
Combined Bank #19

Does constructor overloading include different return types for constructors to be overloaded ?

A: Yes, If return types are different, signature becomes different
B: Yes, because return types can differentiate two functions
C: No, return type can't differentiate two functions
D: No, constructors doesn't have any return type
Sonali Bank Ltd #20

what is the mounting of file system ?

A: crating of a file system
B: deleting a file system
C: attaching portion of the file system into a directory structure
D: removing portion of the file system into a directory structure
Sonali Bank Ltd #21

Multi threaded programs are :

A: lesser prone to deadlocks
B: more prone to deadlocks
C: not at all prone to deadlocks
D: always results in deadlock
Sonali Bank Ltd #22

"Pushing an elemnt into stack already having five elements and stack size of 5, results in "

A: "Overflow "
B: "Crash"
C: "Underflow"
D: "User flow"
Combined Bank #23

The process of making object code from one system worked on another type of system is called.

A: Proteing
B: Designing
C: Developing
D: Coding
Probashi Kallyan Bank #24

Which one of the following is a loop construct that will always be executed be execited once?

A: for
B: while
C: switch
D: do while
Combined Bank #25

Which type of following errors in generated when the program is being executed?

A: Syntax error
B: Semantic error
C: Run time error
D: Linker error
Government Job and Other Recruitment Exams #26

নিচের কোনটি Invalid Variable mean?

ক: Average
খ: No# of- student
গ: xyz
ঘ: y23x
Janata Bank Ltd #27

An n x a array v is defined as follows : v [i,j] = i.j for all i. j 1 < = i < = n ,i < j =n.

A: n-1
B: n2-3n +2
C: n2(n+1)/2
Janata Bank Ltd #28

The operator that cannot be overloaded is

A: ++
B: ()
C: -
D: ::
Assistant Programmer #29

DRY principle makes the code:

A: Reusable
B: Loop forever
C: Bad Repetitive
D: Complex
Assistant Programmer #30

Which of the following creates a new type?

A: Concatenate
B: Append
C: Join
D: Add
← Previous Page 1 of 1 Next →