Your next chapter starts hereExplore admission guide
PRACTICE QUESTION BANK

কম্পিউটার সায়েন্স এন্ড ইঞ্জিনিয়ারিং

Department
26378Questions
26022MCQ
356CQ / Written
0%0 covered

Subjects / বিষয়

Non-Technical · Shared by all departments

রসায়ন

15 chapters

6500 questions6500 MCQ0 CQ
0/6500 covered0%
0%

Non-Technical · Shared by all departments

গণিত

4 chapters

2500 questions2500 MCQ0 CQ
0/2500 covered0%
0%

Non-Technical · Shared by all departments

ইংরেজি

11 chapters

2800 questions2800 MCQ0 CQ
0/2800 covered0%
0%

Questions

0 read · 0 practiced · 0 answered in exams
26041. MCQ2016-2017 · Question 10.6

vi) The direct connection is made between sendet and receiver so data can be transmitted: [প্রেরক ও প্রাপকের মধ্যে ডাটা সঞ্চালনের জন্য সরাসরি সংযোগ তৈরি হয়:]

a.
Packet Switching
b.
Message Switching
c.
Circuit Switching
d.
Data Switching

Correct answer: c

Circuit switching-এ dedicated communication path স্থাপন হয়।

Sign in to save reading progress

26042. MCQ2016-2017 · Question 10.7

vii) Variable which can be acccssed by all modules of the program is called- [যে variable প্রোগ্রামের সব মডিউল অ্যাকসেস করতে পারে তাকে বলে-]

a.
Global variable
b.
Local variable
c.
static variable
d.
Auto variable

Correct answer: a

Global variable, declaration ও linkage-এর scope সাপেক্ষে।

Sign in to save reading progress

26043. MCQ2016-2017 · Question 10.8

viii) What is the following declaration for? [নিচের declaration টি কী জন্যে?] int(*α) [10];

a.
Pointer to an array of 10 integers.
b.
Array of 10 function pointer returning int.
c.
A pointer ot function retuning an array of 10 integers.
d.
Array of 10 integer pointer.

Correct answer: a

int (*p)[10] হলো 10 integer-এর array-এর pointer।

Sign in to save reading progress

26044. MCQ2016-2017 · Question 10.9

ix) Which one of the following is the WiFi standard? [নিচের কোনটি WiFi standerd?]

a.
IEEE 802.1
b.
IEEE 802.3
c.
IEEE 802.11
d.
IEEE 802.15

Correct answer: c

Wi-Fi IEEE 802.11 family-এর ওপর ভিত্তি করে।

Sign in to save reading progress

26045. MCQ2016-2017 · Question 10.10

x) If we write a program in a programming language and switch to SQL when we require to use the database , then the SQL environment in use is know as [যদি আমরা যেকোন প্রোগ্রামিং ল্যাঙ্গুয়েজে একটি প্রোগ্রাম লিখি এবং তা database এর প্রয়োজনে SQL এর সাথে যুক্ত করি তখন তাকে বলে-]

a.
PL SQL
b.
Embedded SQL
c.
Dynamic SQL
d.
Real-time SQL

Correct answer: b

Host language-এর মধ্যে SQL ব্যবহার: embedded SQL।

Sign in to save reading progress

26046. MCQ2016-2017 · Question 10.11

x) Dual role of NAND function is- [NAND ফাংশন এর DUAL হলো-]

a.
AND function
b.
OR function
c.
NOR function
d.
NAND function

Correct answer: c

Dual-এ AND ও OR অদলবদল হয়: NAND-এর dual NOR।

Sign in to save reading progress

26047. CQ / Written2015-2016 · Question 1a

1. (a) What is token? List different types of token in C++. [টোকেন কি? C++ এর বিভিন্ন প্রকার টোকেন এর তালিকা দাও।] (07)

CQ / Written solution

Token হলো source program-এর ক্ষুদ্রতম meaningful lexical unit। C++ token-এর প্রধান ধরন: keywords, identifiers, literals, operators ও punctuators।

int count = 10;
// int: keyword; count: identifier; 10: literal; =: operator; ;: punctuator

Sign in to save reading progress

26048. CQ / Written2015-2016 · Question 1b

(b) What is polymorphism? Differentiate between method overriding and method overloading? [Polymorphism কি? method overriding এবং method overloading এর মধ্যে পার্থক্য কর।] (07)

CQ / Written solution

Polymorphism হলো একই interface দিয়ে বিভিন্ন ধরনের object-এর উপযুক্ত আচরণ পাওয়া।

  1. Compile-time: function/operator overloading।
  2. Run-time: virtual function overriding; base pointer/reference দিয়ে derived implementation চালানো।
  3. সুবিধা: পুনর্ব্যবহার, সহজ extension এবং কম coupling।
OverloadingOverriding
একই নাম, ভিন্ন parameter listDerived class-এ matching virtual function-এর implementation
Compile-time overload resolutionVirtual dispatch-এ run-time selection
Return type একা বদলে overload হয় নাC++-এ override লিখলে signature compiler যাচাই করে

Sign in to save reading progress

26049. CQ / Written2015-2016 · Question 2

2. Write a program in C language to make a SWAP operation. In the program you have to take two inputs in x and y variable and show the x and y output first; and then SWAP the x and y variable values and show the output for new x and y values. [C ল্যাঙ্গুয়েজ এ একটি প্রোগ্রাম লিখ যা SWAP অপারেশন করতে পারে। উক্ত প্রোগ্রামে X ও Y দুইটি ভেরিয়েবলে প্রথমে দুইটি মান ইনপুট হিসেবে নিবে এবং x ও y এর মান আউটপুট এ দেখাবে; পরবর্তীতে x ও y এর মধ্যে SWAP করার পর x ও y এর নতুন মান আউটপুটে দেখাবে।] (14)

CQ / Written solution

#include <stdio.h>

int main(void) {
    int x, y;
    if (scanf("%d%d", &x, &y) != 2) return 1;
    printf("Before: x=%d y=%d\n", x, y);
    int temp = x;
    x = y;
    y = temp;
    printf("After: x=%d y=%d\n", x, y);
    return 0;
}

Sign in to save reading progress

26050. CQ / Written2015-2016 · Question 3

3. The king, queen and jack of clubs are removed from a deck of 52 playing cards and then shuffled. A card is drawn from the remaining cards. Find the probability of getting. [ক্লাবস এর রাজা, রানী এবং জ্যাক 52 কার্ড থেকে সরানো হলো এবং তারপর কার্ডটি (Shuffle) হলো, যদি একটি কার্ড থেকে টানা হয়। তাহলে নিম্নলিখিত বিষয়ের সম্ভাব্যতা বের কর।] (14)

(i) a heart (ii) '9' of red color

CQ / Written solution

Club-এর king, queen, jack সরানোর পর card সংখ্যা 49। Heart থাকে 13টি এবং red 9 থাকে 2টি।

\[P(\text{heart})=\frac{13}{49},\qquad P(\text{red nine})=\frac{2}{49}\]

Sign in to save reading progress