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
26161. MCQ2011-2012 · Question 14.6

vi. Which relation is correct in case of transistor’s current gain? [ট্রানজিস্টরের কারেন্ট গেইন এর ক্ষেত্রে কোন সম্পর্কটি সত্য?]

a.
$\alpha = \beta / (1 + \beta)$
b.
$\alpha = \beta(1 + \beta)/\beta$
c.
$\alpha = \gamma / (1 + \gamma)$
d.
$\alpha = (1 + \gamma)/\gamma$

Correct answer: a

\(\alpha=I_C/I_E=\beta/(1+\beta)\)।

Sign in to save reading progress

26162. CQ / Written2011-2012 · Question 14.7

Source ambiguity: see solution note.

vii. The simplification of the Boolean expression $\overline{\overline{ABC} + \overline{ABC}}$ is: [$\overline{\overline{ABC} + \overline{ABC}}$ এর সরলীকরণ হচ্ছে : ]

  1. 0 ($\sqrt{}$
  2. 1
  3. A
  4. BC

CQ / Written solution

প্রদত্ত expression অনুযায়ী \(\overline{\overline{ABC}+\overline{ABC}}=ABC\)। কোনো option মেলে না; source-এর পরের expression ভিন্ন।

Sign in to save reading progress

26163. CQ / Written2011-2012 · Question 14.8

Source ambiguity: see solution note.

viii. What is the equivalent resistance between terminal A and B of the following circuit? [নীচের সার্কিট A এবং B টারমিনালের সমতুল্য রেজিস্ট্যান্স কত হবে?] (Continuation of question viii from the previous page) (Circuit diagram showing terminals A and B connected to a bridge-like network of resistors with values $6\ \Omega$, $4\ \Omega$, $8\ \Omega$, and $2\ \Omega$, crossing between nodes C and D)

  1. $2\ \Omega$
  2. $6\ \Omega$
  3. $4\ \Omega$
  4. $8\ \Omega$

CQ / Written solution

সঠিক resistor connection diagram অনুপস্থিত। শুধু resistor values থেকে equivalent resistance নিশ্চিত করা যায় না।

Sign in to save reading progress

26164. MCQ2011-2012 · Question 14.9

ix. FIFO scheduling is ----- [FIFO সিডিউলিং হলো -----]

a.
preemptive scheduling
b.
non preemptive scheduling
c.
deadline scheduling
d.
fair share scheduling

Correct answer: b

FCFS/FIFO CPU scheduling non-preemptive।

Sign in to save reading progress

26165. MCQ2011-2012 · Question 14.10

x. With an IP address of 201.142.23.12, what will be the default subnet mask? [[201.142.23.12 IP address – এর subnet mask কত হবে?]

a.
0.0.0.0
b.
255.0.0.0
c.
255.255.0.0
d.
255.255.255.0

Correct answer: d

পুরনো classful convention-এ 201.* Class C: 255.255.255.0।

Sign in to save reading progress

26166. CQ / Written2009-2010 · Question 1a

1. (a) Write the content and purpose of the following header files [নিম্নোক্ত হেডার ফাইলগুলোর কনটেন্ট এবং উদ্দেশ্যগুলি লিখ ।]

(i) <iostream.h> (ii) <stdlib.h> (iii) <math.h> (iv) <string.h>

CQ / Written solution

HeaderContent ও purpose
iostream.hপুরোনো non-standard C++ stream header; standard C++-এ <iostream>, std::cin/std::cout
stdlib.hmalloc/free, numeric conversion, exit, qsort ইত্যাদি
math.hsqrt, pow, sin ইত্যাদি mathematical function declaration
string.hstrlen, strcmp, strcpy, memcpy ইত্যাদি string/memory operation declaration

Sign in to save reading progress

26167. CQ / Written2009-2010 · Question 1b

1. (b) Using recursion write a program in “C” Language to calculate the factorial of any integer. [রিকারসন ব্যবহার করে যে কোন পূর্ণ সংখ্যার ফ্যাক্টরিয়াল গণনা করার জন্য “C” ভাষায় একটি প্রোগ্রাম লিখ।] (06)

CQ / Written solution

কোনো function নিজেকে call করলে তাকে recursion বলে। Base case recursion থামায়।

\[0!=1,\qquad n!=n(n-1)!\quad(n\ge1)\]

#include <stdio.h>

unsigned long long factorial(unsigned int n) {
    return n < 2 ? 1 : n * factorial(n - 1);
}

int main(void) {
    int n;
    if (scanf("%d", &n) != 1 || n < 0 || n > 20) {
        puts("Enter an integer from 0 to 20.");
        return 1;
    }
    printf("%llu\n", factorial((unsigned int)n));
    return 0;
}

Sign in to save reading progress

26168. CQ / Written2009-2010 · Question 3a

3. (a) Construct a truth table for the following compound proposition [নিম্নলিখিত কম্পাউন্ড প্রোপজিশনের ট্রুথ টেবিল তৈরী কর] $(p \oplus q) \wedge (p \oplus \neg q)$ (03)

CQ / Written solution

pqp XOR qp XOR NOT qAND
00010
01100
10100
11010

দুটি XOR complementary, তাই compound proposition সর্বদা false (contradiction)।

Sign in to save reading progress

26169. CQ / Written2009-2010 · Question 2b

2. (b) A die is rolled and a coin is tossed, find the probability that the die shows an odd number and the coin shows a head. [একটি ডাইকে গড়াইয়া এবং একটি কয়েনকে ছুড়িয়া দেওয়া হইল, ডাইটি একটি বেজোড় সংখ্যা এবং কয়েনটি একটি হেড প্রদর্শন করিবার সম্ভাব্যতা বের কর।] (07)

CQ / Written solution

\[P(\text{odd and head})=\frac36\times\frac12=\boxed{\frac14}\]

Fair die ও fair coin এবং independent outcomes ধরে।

Sign in to save reading progress

26170. CQ / Written2009-2010 · Question 3a

3. (a) Prepare a Binary search tree for the following data: 8,10,26,2,78,102,115 [নিম্নোক্ত ডাটাতগুলি ব্যবহার করে একটি binary search tree তৈরি কর।] (8,10,26,2,78,102,115) (04)

CQ / Written solution

Insertion order অনুসারে 8 root; 2 তার left child; 10 right child। এরপর 26 → 78 → 102 → 115 ক্রমাগত right child।

Inorder: 2, 8, 10, 26, 78, 102, 115।

bst 2009

Sign in to save reading progress