Programming MCQ · প্রোগ্রামিং এমসিকিউ
Write and read code (C, C++, Java, Python), master OOP, and predict program output.
প্রোগ্রামিং অংশে সবচেয়ে বেশি প্রশ্ন আসে প্রোগ্রামিং ভাষার মৌলিক বিষয় ও সিনট্যাক্স, লুপ ও কন্ট্রোল ফ্লো, ফাংশন ও রিকারশন, পয়েন্টার-অ্যারে-স্ট্রিং আর অবজেক্ট ওরিয়েন্টেড প্রোগ্রামিং থেকে। অনেক প্রশ্নে ছোট একটি কোড দিয়ে তার আউটপুট জানতে চাওয়া হয়, তাই কোড হাতে চালিয়ে দেখার অভ্যাস কাজে লাগে।
- Past MCQs
- 259
- Written
- 389
- Chapters
- 7
How Programming is asked · পরীক্ষায় যেভাবে আসে
Our 245 papers that ask Programming (2015–2026) hold 648 of its questions; Language Basics & Syntax alone makes up 35% of them. It makes up 15.8% of the questions in our M.Sc. admission (CSE and ICT) papers, against 5.3% in BCS (ICT and CSE cadre). 15 of its MCQs came back in a second exam.
- Papers that ask it
- 245
- Years covered
- 2015–2026
- MCQ / written
- 259 / 389
- MCQs asked again
- 15
Most asked chapters · বেশি আসা অধ্যায়
Each chapter's share of the 648 past-exam questions
Share of each exam's questions · পরীক্ষাভিত্তিক অংশ
Programming questions in each exam's papers, and their share of that exam's questions
- Defence organisations' IT posts of 37616.2%
- M.Sc. admission (CSE and ICT) of 1772815.8%
- Bank IT jobs of 2,38825010.5%
- Government IT officer posts of 2,33724310.4%
- BPSC non-cadre IT posts of 716699.6%
- ICT teaching posts (NTRCA) of 300268.7%
- BCS (ICT and CSE cadre) of 492265.3%
Asked in more than one exam · একাধিক পরীক্ষায় এসেছে
15 MCQs in Programming came back word for word in a second exam; the 3 most repeated technical ones below, each linked to the papers.
Interfaces in Java are meant to be-
Programming, asked in 2 exams:Combined Bank Assistant Programmer Feb 2024Combined Bank Assistant Programmer 2020
Suppose Y is an integer variable whose value is either 0 or 1. Which of the following is the equivalent of the statement if(Y==0) Y=1; else Y=0;?
Programming, asked in 2 exams:Bank Assistant Programmer Mar 2021Sonali Bank Assistant Database Administrator 2020
C programming language এ নিচের কোনটিকে "if" দিয়ে Replace করা যায়?
Programming, asked in 2 exams:BPSC Assistant Programmer (Dept. of ICT) 2020BPSC Assistant Network Engineer 2019
Counted from our own past papers: every past-exam MCQ and written question, each filed under one syllabus chapter. Practice questions and questions held for live tests are not counted; no answer is shown here.
Syllabus by chapter · অধ্যায়ভিত্তিক সিলেবাস
- Language Basics & Syntax · 464 questions
- Dry-running / tracing code output, Polymorphism, Encapsulation & access modifiers, Calling static methods, Row & Column Sum of a Matrix, Prime Number Generation
- Control Flow & Loops · 190 questions
- Finding Maximum in an Array, try (and catch/finally) block, Terminating an infinite for(;;) loop, Taylor Series Program for e^x, Finding Prime Numbers in a Range, Solving a Quadratic Equation in C
- Functions & Recursion · 139 questions
- Call by Value vs Call by Reference, Repeated function invocation vs recursion, Factorial Using Recursion, Friend Function, Reversing a String Without Library Functions, Factorial of N Using a Recursive Function (C/C++)
- Pointers, Arrays & Strings · 177 questions
- Testing a Sorting Algorithm, Problem-Solving Technique, Structured vs OOP, 1-D Arrays in C, Flowchart to Check a Prime Number, C Program to Convert Uppercase to Lowercase and Vice Versa, Declaring an Array Without a Size, Removing duplicate elements from an array
- Object-Oriented Programming · 471 questions
- Method Overloading vs Overriding, Overloading vs Overriding, Four Pillars of OOP, Constructor vs Destructor, Storage class specifiers in C, Built-in (inbuilt) classes
- Output & Debugging · 40 questions
- Exception vs Error in Java, Exception Handling — try/catch/finally, Semantic Error in Compilation, throw vs throws, Try-With-Resources
- Mixed Topics · 196 questions
- Compiler vs Interpreter, Prime Number Generation, Components of .NET Framework, Finalization (deprecated) & modern resource cleanup, LCM Using the goto Statement, Alternating-Digit Triangle Pattern in C
Loading sample questions…
Start learning: Programming Fundamentals: part 1 - Programs, Variables and Data Types · প্রোগ্রামিং মৌলিক ধারণা: ভাগ ১ - প্রোগ্রাম, ভেরিয়েবল ও ডেটা টাইপ
Programming Fundamentals: part 1 - Programs, Variables and Data Types
Stand at the Kamalapur railway counter for a minute and watch. The clerk types the number of passengers and the class of seat, presses a key, and a ticket comes out of the printer with the fare already worked out. Nobody in the booth multiplied anything. A program did: it took two numbers from the keyboard, kept them somewhere in memory, calculated, and printed the answer in a neat format. The bKash app that shows your balance, the result page that shows your marks and the calculator on your phone all do the same three things: they read values, keep them, and print what they work out.
This chapter is your first step into writing such programs yourself, and it assumes nothing. If you have never typed a line of code, that's fine; we start from an empty file. By the end you'll be able to write a small C program that reads a value, calculates and prints, and to say exactly what happens between the moment you save the file and the moment the answer appears. You'll know which names C accepts and why net-pay isn't one of them, which words belong to the language, how a variable lives in memory, how many bytes each data type takes and how far its values reach, why 0.1 + 0.2 is not exactly 0.3, and how to print and read every type with the right format specifier. These are the questions that open many programming papers, and they are among the easiest marks once the ideas are clear.
We'll go in five parts: the first program and its journey from text to running, the names a program uses, variables and constants, the data types with their sizes and ranges, and finally decimals, printing and reading. We'll write C, the language most exam questions use, with a word on Python and Java where they differ. Every program in this chapter was compiled and run, and the output you see is the real output.
:::why ids=110-3,038-80,039-96,090-28,091-36,091-31,091-37,120-25,086-16,bpsc261029-92,096-28,116-38,103-23,136-23,102-8,107-24,126-16,bpsc261029-40,013-6,136-15,112-26,110-2,bpsc261029-27,102-1,092-9,098-36,087-31,059-44,118-11,136-9,108-35,018-94,125-33,wo00210,wo02100,wo01195,wo00905,rakub260605-w13,wo01489,wo00359,wo01737,wo01403
First-step programming questions turn up again and again in bank and BPSC papers. The MCQs test one fact at a time: which name is valid, which word is a keyword, which language the CPU understands without translation, how many bytes an int takes, the smallest value of a 32-bit integer, the format specifier for a double, what \b does, what printf("%c", 100) prints. The written papers ask you to describe C's data types, to list the kinds of error and tell a compile-time error from a runtime one, to say how a compiler treats comments, and to write a short program such as the area of a circle. Every one of these is taught below, with its reason.
:::
:::hook from=110-3
Answer: (c) Both (i) and (iii) are valid. A C name starts with a letter or an underscore _, and after that may hold letters, digits and underscores. var_9 keeps the rule. 9_var starts with a digit, so the compiler reads 9 as a number and the rest as nonsense (GCC says: invalid suffix "_var" on integer constant). And a lone _? To C the underscore counts as a letter, so _ on its own is a legal name; int var_9 = 1; int _ = 3; compiles and prints 1 3. The tempting wrong answer is (b), from the thought that "a lone underscore can't be a name". Part 2 teaches these rules properly.
:::
Part 1: Your first program, from text to running
What a program is
Think of a recipe card for khichuri. It lists, in order, what to do: wash the rice and lentils, heat the oil, add the spices, pour in water, cook for twenty minutes. A cook who follows it step by step gets khichuri, every time. The card doesn't cook anything itself; it is only a list of instructions, written in words the cook understands.
A program is exactly that: a list of instructions, in order, for a computer to carry out. The instructions you write are called source code. That is why an old bank question calls source code "a list of commands". You write it in a programming language such as C, Python or Java, and every language has its own syntax: the rules of spelling, punctuation and word order that every line must follow, just as Bangla has rules of grammar. A computer is a very strict reader. It does not guess what you meant, so a single missing semicolon is enough to stop it.
Before writing code, many people first jot the steps down in plain words, in a form that only looks like code. This is pseudocode. For the ticket counter it might read: read the number of passengers; read the fare per seat; total = passengers × fare; print total. Pseudocode follows no compiler's rules; it is a plan for people. Turning the plan into real syntax is the next step.
There is one more fact to hold on to. The processor, the CPU, does not understand C or Python at all. It understands only machine language: instructions written as patterns of 0s and 1s, specific to that kind of processor. Everything else, even assembly language with its short words like MOV and ADD, must be translated into machine language before it can run. C was created by Dennis Ritchie at Bell Labs in the early 1970s, and it is often called a middle-level language: its words read like a high-level language, yet it can work close to the machine's memory, which is why operating systems are written in it.
In one line: a program is an ordered list of instructions; you write it as source code in a language with strict syntax, and it must be translated into machine language, the only language the CPU understands.
The shape of a C program
Here is a complete C program. It is small, but every C program you'll ever write has this same skeleton, so let's read it slowly.
#include <stdio.h> /* gives us printf */
/* every C program starts running at main */
int main(void)
{
printf("Hello, Dhaka!\n");
return 0; /* 0 means: finished without a problem */
}
Hello, Dhaka!
The first line, #include <stdio.h>, asks for the file stdio.h (standard input and output) to be pasted in at this spot before compiling. That file announces printf, the function that writes to the screen, and scanf, which reads from the keyboard. Without it the compiler would not know what printf is.
int main(void) is where the program starts running, always. A program can have many functions, but the computer begins at the one named main. The int in front says that main hands back a whole number when it finishes, and void in the brackets says it takes nothing in. The curly braces { and } mark the start and end of main's body, like the two covers of a notebook.
Inside the braces, printf("Hello, Dhaka!\n"); prints the text between the double quotes. The \n at the end is not printed as two characters; it means "go to a new line". We'll meet such backslash codes properly in Part 5. Then return 0; ends main and passes 0 back to the operating system, the agreed signal for "finished without a problem".
The text between /* and */ is a comment: a note for people. The compiler throws it away. A comment can also start with // and run to the end of that line (allowed since the C99 standard). How exactly does a compiler handle comments? This is a written question in its own right. Before anything else happens, each comment is replaced by a single space, so a comment produces no machine code and makes the program neither bigger nor slower. Two details follow from that. Inside a string, /* is just text: printf("/* not a comment */\n"); prints /* not a comment */. And comments do not nest. In /* outer /* inner */ printf("x\n"); */ the first */ closes the comment, so the final */ is left over as code, and GCC stops with expected expression before '/' token after warning that "/*" within comment.
Two small rules cause most beginners' errors, so learn them now. First, C tells capital and small letters apart. printf and Printf are different names, and so are main and Main; every word of the language is written in small letters. Second, every statement, every complete instruction such as printf(...) or return 0, ends with a semicolon ;, the way a Bangla sentence ends with a দাঁড়ি. But the #include line is not a statement (it is an instruction to the preprocessor, which you'll meet in a moment), so it takes no semicolon, and neither does a line holding only { or }.
What if main does nothing at all?
#include<stdio.h>
int main(){
return 0;
}
This compiles without complaint, runs, and prints nothing: the screen stays empty, and the program reports 0, "finished without a problem". There is no garbage output and no error; a program only prints what you ask it to print.
In one line: a C program starts at main, pulls in stdio.h for printf, ends each statement with ;, treats every comment as one space, and is case-sensitive.
From text to running: four stages and a loader
You save the program as hello.c. That file is plain text, nothing the CPU can run. Turning it into a running program takes several steps, and with the GCC compiler you can stop after each one and look at what it made.
:::figure caption="From hello.c to a running program: GCC's four stages, then the loader" alt="Flowchart: hello.c goes through the preprocessor to hello.i, through the compiler proper to assembly hello.s, through the assembler to object code hello.o, then the linker joins printf's library code to make the executable hello, and finally the loader puts it in memory and runs it, printing Hello, Dhaka!"
flowchart TD
A["hello.c: source code"] -->|"preprocessor: gcc -E"| B["hello.i: stdio.h pasted in, comments gone"]
B -->|"compiler: gcc -S"| C["hello.s: assembly"]
C -->|"assembler: gcc -c"| D["hello.o: object code (machine code)"]
D -->|"linker: joins printf from the library"| E["hello: executable"]
E -->|"loader: puts it in memory and runs it"| F["Hello, Dhaka!"]
:::
:::steps title="Watch each stage on the real hello.c (GCC 13.3)"
- Preprocessor (
gcc -E hello.c -o hello.i). It obeys the lines that start with#and removes the comments. Our 8-line file became 821 lines, because the whole ofstdio.hwas pasted in, and not one of our comments was left. - Compiler proper (
gcc -S hello.c). It checks the syntax and meaning of the C code and translates it into assembly, the processor's instructions written as short words. The filehello.shas amain:label and the line.string "Hello, Dhaka!". - Assembler (
gcc -c hello.c). It turns assembly into object code,hello.o. Thefilecommand describes it asELF 64-bit LSB relocatable, x86-64: real machine code in 0s and 1s, but not yet runnable. - Linker (
gcc hello.o -o hello). Our code callsprintf, butprintfitself was written by someone else and sits in the C library. Inhello.oits address is still a blank. The linker fills that blank by joining in the library code, and writes the executable filehello. - Loader. When you type
./hello, the operating system's loader copies the executable into memory and starts it atmain. The screen showsHello, Dhaka!.
In everyday use one command, gcc hello.c -o hello, runs all four stages at once; the steps above only make the hidden work visible.
:::
Two words from these stages are exam favourites. Object code is the machine-language file that tells the CPU what to do; it is what the assembler produces. And the program that translates a whole source file into machine language before anything runs is a compiler. C and C++ are compiled. Python works differently: an interpreter reads one statement, runs it, then reads the next, and leaves no executable file behind. Java sits in between: javac compiles the source into bytecode, and the Java Virtual Machine then runs that bytecode. The full comparison of compilers and interpreters is a favourite written question of its own, and the lesson "Compilers, Interpreters and Program Templates" gives it in full; for now it is enough to know which one turns the whole program into machine language at once.
Students often say "the compiler runs the program". It doesn't. The compiler only translates; your program runs later, when the loader starts the executable. That's why a compiler can catch a missing semicolon but cannot know what number a user will type.
In one line: source code goes through the preprocessor, the compiler, the assembler (object code) and the linker (executable), and the loader then runs it; a compiler translates the whole program before it runs, an interpreter runs it statement by statement.
Five kinds of error, and when each is caught
Imagine a student's answer script going through three checks. A proofreader marks spelling and grammar. The examiner checks that the steps make sense. And then there's the answer itself: it can be perfectly written, perfectly logical in every line, and still wrong. Program errors come in the same layers, and each layer is caught at a different moment. Each example below is from a real GCC run.
A syntax error breaks the grammar of the language: a missing semicolon, a misspelt keyword, a bracket left open. It is "any error that occurs due to violation of a programming rule", as one bank question put it, and no compiler or interpreter can translate a statement that has one. Here the ; after 75 is missing:
int marks = 75
printf("%d\n", marks);
GCC stops at compile time with error: expected ',' or ';' before 'printf'. Notice that it points at the next line, because only on reaching printf does it see that the statement was never closed.
A semantic error is grammatically fine but makes no sense under the language's rules. Changing a constant is one: const int SEATS = 40; followed by SEATS = 45; gives error: assignment of read-only variable 'SEATS'. Calling a plain number as if it were a function, x(); when x is an int, gives called object 'x' is not a function or function pointer. The compiler catches these too, after checking the syntax, when it checks what each statement means.
A linker error appears when the code compiles but a piece is missing at the joining stage. Declare a function show, call show(5);, but never write its body, and the linker says undefined reference to 'show'. The same happens with a capital letter in the wrong place: Printf("Hi\n"); compiles with only a warning (implicit declaration of function 'Printf'; did you mean 'printf'?), and then the linker fails with undefined reference to 'Printf', because no library contains a function with that name.
A runtime error happens while the program is running, so the compiler could not have seen it. This program divides 500 by a number the user types:
int total = 500, n;
scanf("%d", &n);
printf("%d\n", total / n);
With 4 it prints 125. With 0 the program dies in the middle with Floating point exception, because whole-number division by zero is impossible. The code was correct; the data made it fail.
A logical error is the most dangerous, because nobody reports it. The program compiles, runs, and prints a wrong answer with a straight face. We want the average of 7 and 8:
#include <stdio.h>
int main(void)
{
int a = 7, b = 8;
double avg = (a + b) / 2;
printf("%.1f\n", avg);
return 0;
}
7.0
The average is 7.5, so why 7.0? Both a + b (that is, 15) and 2 are whole numbers, and when C divides one whole number by another it keeps only the whole part: 15 / 2 gives 7. Only after that is 7 stored in the double as 7.0. Write (a + b) / 2.0 instead, so that one side has a decimal point, and the program prints 7.5. The next part of this topic, on operators, explains this division rule in full.
Exams also like two broader words. Compile-time errors are those found before the program runs: syntax and semantic errors (and, at build time, linker errors). No executable is made, and the compiler tells you the line. Runtime errors appear only while it runs, depend on the input, and stop the program in the middle. A logical error belongs to neither group: it is found only by testing the output against an answer you worked out by hand.
| Error | Caught when | Real example |
|---|---|---|
| Syntax | compile time | missing ; → expected ',' or ';' before 'printf' |
| Semantic | compile time | SEATS = 45; on a const → assignment of read-only variable 'SEATS' |
| Linker | link time | Printf("Hi\n"); → undefined reference to 'Printf' |
| Runtime | while running | input 0 for total / n → Floating point exception |
| Logical | no compiler or tool, only your testing | (a + b) / 2 prints 7.0 for 7.5 |
Students often call every error a "syntax error". Ask yourself one question: did the program get as far as running? If it never compiled, the error is syntax or semantic; if no executable was made though the code compiled, it's the linker; if it stopped while running, it's runtime; and if it finished calmly with a wrong answer, it's logical.
In one line: syntax and semantic errors are caught by the compiler, linker errors when the pieces are joined, runtime errors while the program runs, and logical errors by nobody but your own testing.
:::check id=p1-errtype
A program compiled without a single warning and ran to the end, but printed 7.0 where 7.5 was expected. What kind of error is this, and who could have caught it?
- A syntax error, caught by the compiler
- A linker error, caught when the library is joined
- A runtime error, caught when the program stopped
- A logical error, caught only by testing the output
It compiled and ran to the end, so no rule of the language was broken: that rules out syntax (it would not have compiled), linker (no executable would exist) and runtime (the program would have stopped in the middle). Only the result is wrong, which is a logical error, and no tool reports it. You find it by checking the output against an answer worked out by hand, exactly as with the (a + b) / 2 example.
:::
Read the whole lesson free with an account · পুরো পাঠ পড়তে বিনামূল্যে সাইন আপ করুন
All 36 lessons · সব পাঠ
- Programming Fundamentals: part 1 - Programs, Variables and Data Types · প্রোগ্রামিং মৌলিক ধারণা: ভাগ ১ - প্রোগ্রাম, ভেরিয়েবল ও ডেটা টাইপ
- Programming Fundamentals: part 2 - Operators, Bits and Decisions · প্রোগ্রামিং মৌলিক ধারণা: ভাগ ২ - অপারেটর, বিট ও সিদ্ধান্ত
- Programming Fundamentals: part 3 - Loops, break, continue and Loop Programs · প্রোগ্রামিং মৌলিক ধারণা: ভাগ ৩ - লুপ, break, continue ও loop-এর প্রোগ্রাম
- Functions, Recursion and Scope: part 1 - Functions, Arguments and Calls · ফাংশন, রিকার্সন এবং স্কোপ: ভাগ ১ - ফাংশন, আর্গুমেন্ট ও কল
- Functions, Recursion and Scope: part 2 - Recursion: the Call Stack, Digits and Fibonacci · ফাংশন, রিকার্সন এবং স্কোপ: ভাগ ২ - রিকার্সন: call stack, অঙ্ক ও Fibonacci
- Functions, Recursion and Scope: part 3 - GCD, Tower of Hanoi, Scope and Storage Classes · ফাংশন, রিকার্সন এবং স্কোপ: ভাগ ৩ - GCD, Tower of Hanoi, স্কোপ ও storage class
- Object-Oriented Programming Concepts: part 1 - Class and Object, Constructors, Encapsulation, Inheritance and Abstraction · অবজেক্ট-ওরিয়েন্টেড প্রোগ্রামিং ধারণা: ভাগ ১ - ক্লাস ও অবজেক্ট, কনস্ট্রাক্টর, এনক্যাপসুলেশন, ইনহেরিটেন্স ও অ্যাবস্ট্রাকশন
- Object-Oriented Programming Concepts: part 2 - Polymorphism, Class Relationships, UML and Design Rules · অবজেক্ট-ওরিয়েন্টেড প্রোগ্রামিং ধারণা: ভাগ ২ - পলিমরফিজম, ক্লাসের সম্পর্ক, UML ও ডিজাইনের নিয়ম
- C Programming Essentials and Pointers: part 1 - Pointers, Addresses, Arithmetic and Arrays · সি প্রোগ্রামিং-এর মূল বিষয় ও পয়েন্টার: ভাগ ১ - pointer, ঠিকানা, arithmetic ও array
- C Programming Essentials and Pointers: part 2 - arrays and strings · সি প্রোগ্রামিং-এর মূল বিষয় ও পয়েন্টার: ভাগ ২ - array ও string
- Python Programming Essentials: part 1 - What Python is, Python 3, types, operators, bits and strings · পাইথন প্রোগ্রামিং অপরিহার্য বিষয়সমূহ: ভাগ ১ - পাইথন কী, Python 3, টাইপ, অপারেটর, বিট ও স্ট্রিং
- Python Programming Essentials: part 2 - Collections, loops, comprehensions, functions, scope and recursion · পাইথন প্রোগ্রামিং অপরিহার্য বিষয়সমূহ: ভাগ ২ - collection, লুপ, comprehension, ফাংশন, scope ও recursion
- Python Programming Essentials: part 3 - Iterators and generators, exceptions, files, classes and what is new in Python · পাইথন প্রোগ্রামিং অপরিহার্য বিষয়সমূহ: ভাগ ৩ - iterator ও generator, exception, ফাইল, class এবং Python-এর নতুন বৈশিষ্ট্য
- Common Coding Problems and Patterns: part 1 - how to attack a problem, how fast it runs, one-pass patterns, windows and searching · সাধারণ কোডিং সমস্যা ও প্যাটার্ন: ভাগ ১ - সমস্যায় হাত দেওয়ার পদ্ধতি, প্রোগ্রামের গতি, এক-চলার প্যাটার্ন, window আর খোঁজা
- Common Coding Problems and Patterns: part 2 - swapping, sorting, arrangements and the names of the strategies · সাধারণ কোডিং সমস্যা ও প্যাটার্ন: ভাগ ২ - অদলবদল, সাজানো, সব সাজানো রূপ আর কৌশলগুলোর নাম
- Common Coding Problems and Patterns: part 3 - the digit loop and the divisor loop · সাধারণ কোডিং সমস্যা ও প্যাটার্ন: ভাগ ৩ - অঙ্ক-লুপ আর ভাজক-লুপ
- Common Coding Problems and Patterns: part 4 - pattern printing and counting in strings · সাধারণ কোডিং সমস্যা ও প্যাটার্ন: ভাগ ৪ - প্যাটার্ন ছাপা ও স্ট্রিংয়ে গোনা
- Common Coding Problems and Patterns: part 5 - FizzBuzz, prefix sums, hashing and matrices · সাধারণ কোডিং সমস্যা ও প্যাটার্ন: ভাগ ৫ - FizzBuzz, প্রিফিক্স সাম, হ্যাশিং ও ম্যাট্রিক্স
- Compilers, Interpreters and Program Templates: part 1 - language levels, the translators and a compiler's six phases · কম্পাইলার, ইন্টারপ্রেটার ও প্রোগ্রাম টেমপ্লেট: ভাগ ১ - ভাষার স্তর, তিন অনুবাদক ও কম্পাইলারের ছয় ধাপ
- Compilers, Interpreters and Program Templates: part 2 - linker and loader, program skeletons, bytecode and virtual machines, platform independence and .NET · কম্পাইলার, ইন্টারপ্রেটার ও প্রোগ্রাম টেমপ্লেট: ভাগ ২ - লিংকার ও লোডার, প্রোগ্রামের কাঠামো, বাইটকোড ও ভার্চুয়াল মেশিন, প্ল্যাটফর্ম-নিরপেক্ষতা ও .NET
- Compilers, Interpreters and Program Templates: part 3 - paradigms and history, Prolog, visual programming, APIs and system programming · কম্পাইলার, ইন্টারপ্রেটার ও প্রোগ্রাম টেমপ্লেট: ভাগ ৩ - প্রোগ্রামিংয়ের ধারা ও ইতিহাস, Prolog, ভিজ্যুয়াল প্রোগ্রামিং, API ও সিস্টেম প্রোগ্রামিং
- C programs you write in the exam: part 1 - decisions, switch, goto, loops, arrays and matrices · পরীক্ষায় যে C প্রোগ্রাম লিখতে হয়: ভাগ ১ - সিদ্ধান্ত, switch, goto, লুপ, অ্যারে ও ম্যাট্রিক্স
- C programs you write in the exam: part 2 - strings without the library, quadratics, primes, series and a binary printer · পরীক্ষায় যে C প্রোগ্রাম লিখতে হয়: ভাগ ২ - লাইব্রেরি ছাড়া স্ট্রিং, দ্বিঘাত সমীকরণ, মৌলিক সংখ্যা, সিরিজ আর বাইনারি প্রিন্টার
- Your own data in C: part 1 - struct, memory layout, typedef, enum, union and bit-fields · C-তে নিজের ডেটা: খণ্ড ১ - struct, memory layout, typedef, enum, union আর bit-field
- Your own data in C: part 2 - dynamic memory (malloc, calloc, realloc, free) and the heap bugs · C-তে নিজের ডেটা: খণ্ড ২ - ডায়নামিক মেমরি (malloc, calloc, realloc, free) আর heap-এর ভুলগুলো
- Your own data in C: part 3 - linked lists · C-তে নিজের ডেটা: খণ্ড ৩ - linked list
- Your own data in C: part 4 - command-line arguments, variadic functions, files and the preprocessor · C-তে নিজের ডেটা: খণ্ড ৪ - command-line argument, variadic ফাংশন, ফাইল আর preprocessor
- C++ OOP in Code: part 1 - Class, Constructors, Copy Constructor, Destructor and Inheritance · C++-এ OOP কোডে: ভাগ ১ - class, constructor, copy constructor, destructor ও inheritance
- C++ OOP in Code: part 2 - Overloading, Operators, Friend, Templates, Virtual Functions, Abstract Classes, static and inline · C++-এ OOP কোডে: ভাগ ২ - overloading, operator, friend, template, virtual function, abstract class, static ও inline
- Java essentials: part 1 - how Java runs, the JVM and its memory, main, static, this and super, final, interfaces vs abstract classes, the String pool · জাভার মূল কথা: ভাগ ১ - জাভা কীভাবে চলে, JVM ও তার memory, main, static, this ও super, final, interface বনাম abstract class, String pool
- Java essentials: part 2 - garbage collection and finalize, exceptions in full, throw vs throws, try-with-resources, threads · জাভার মূল কথা: ভাগ ২ - garbage collection ও finalize, exception বিস্তারিত, throw বনাম throws, try-with-resources, thread
- Java essentials: part 3 - String methods, StringBuilder and StringBuffer, wrapper classes, the Integer cache and Math · জাভার মূল কথা: ভাগ ৩ - String-এর method, StringBuilder ও StringBuffer, wrapper class, Integer cache ও Math
- Predict the output: C/C++ traps, part 1 - printf's return value, formats, scanf, precedence and conditions (traps 1–17) · আউটপুট বলুন: C/C++-এর ফাঁদ, ভাগ ১ - printf-এর ফেরত মান, format, scanf, precedence আর শর্ত (ফাঁদ ১–১৭)
- Predict the output: C/C++ traps, part 2 - ++/--, the comma, undefined behaviour, bits and char/unsigned/float (traps 18–33) · আউটপুট বলুন: C/C++-এর ফাঁদ, ভাগ ২ - ++/--, কমা, undefined behaviour, বিট আর char/unsigned/float (ফাঁদ ১৮–৩৩)
- Predict the output: C/C++ traps, part 3 - sizeof, macros, strings, loops, static, recursion and pointers (traps 34–40) · আউটপুট বলুন: C/C++-এর ফাঁদ, ভাগ ৩ - sizeof, macro, স্ট্রিং, লুপ, static, recursion আর pointer (ফাঁদ ৩৪–৪০)
- Revision sheet: Programming Concepts · রিভিশন শিট: প্রোগ্রামিং ধারণা
সাধারণ জিজ্ঞাসা · FAQ
- প্রোগ্রামিং এমসিকিউ কোন কোন পরীক্ষায় আসে?
- সহকারী প্রোগ্রামার, প্রোগ্রামার ও অফিসার (আইটি) পদের পরীক্ষায় প্রোগ্রামিংয়ের প্রশ্ন থাকে: পিএসসি, ব্যাংক ও বিভিন্ন সরকারি প্রতিষ্ঠান সবাই এই অংশ রাখে। আমাদের সংগ্রহে সবচেয়ে বেশি প্রশ্ন আছে এই পরীক্ষাগুলোতে: BCC — Assistant Programmer — Exam: 11.11.2023; Sonali & Janata Bank Officer (IT/ICT)-2019 Exam Taker: AUST; Combined Bank Senior Officer (IT) Exam: 2018 (DU)।
- কোন অধ্যায় থেকে সবচেয়ে বেশি প্রশ্ন আসে?
- আমাদের সংগ্রহের আগের প্রশ্ন অনুযায়ী: Object-Oriented Programming (৪৭১টি), Language Basics & Syntax (৪৬৪টি), Control Flow & Loops (১৯০টি)।
- এখানে কতগুলো আগের প্রশ্ন আছে?
- আসল নিয়োগ পরীক্ষা থেকে ২৫৯টি এমসিকিউ ও ৩৮৯টি লিখিত প্রশ্ন, ৭টি অধ্যায়ে সাজানো।
- উত্তর ও ব্যাখ্যা কোথায় পাব?
- প্রতিটি প্রশ্নপত্রের পাতায় কিছু প্রশ্নের উত্তর ও ব্যাখ্যা বিনামূল্যে দেখা যায়। অধ্যায়ভিত্তিক অনুশীলন, সব উত্তর ও ব্যাখ্যা আর বাংলা-ইংরেজি পাঠের জন্য একটি ফ্রি অ্যাকাউন্ট লাগবে; নতুন অ্যাকাউন্টে ১ দিন প্রিমিয়াম ফ্রি।