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
25981. MCQ2019-2020 · Question 10.6

vi) Considering the following set of relations, what is a correct SQL query to find all the employees whose departments are located in ‘Gazipur’ and salary is greater than Tk. 20,000? [নীচের Set of relations এর ভিত্তিতে সঠিক SQL query টি কি যা সব employee কে খুঁজে বের করবে যাদের ডিপার্টমেন্ট ‘Gazipur’ এ এবং salary Tk. 20,000 এর বেশি?] emp (emp_no, emp_name, dept_no, salary) dept (dept_no, dept_name, location)

a.
Select emp_name from dept where dept_no and location = ‘Gazipur’;
b.
Select emp_name from emp where salary > 20,000 and dept_no in (select dept_no from dept where location = ‘Gazipur’);
c.
Select dept_no, count(emp_no) emp where salary > 20,000 group by dept_no = ‘Gazipur’;
d.
update table emp where emp_name = ‘Gazipur’;

Correct answer: b

সঠিক syntax: SELECT emp_name FROM emp WHERE salary > 20000 AND dept_no IN (SELECT dept_no FROM dept WHERE location = 'Gazipur'); source-এর 20,000 SQL numeric literal নয়।

Sign in to save reading progress

25982. MCQ2019-2020 · Question 10.7

vii) Which module gives control of the CPU to the process selected by the short-term scheduler? [শর্ট-টার্ম সিডিউলার কোন মডিউল দিয়ে প্রসেস সমূহকে CPU তে প্রদান করে?]

a.
Dispatcher
b.
Interrupt
c.
Scheduler
d.
Job queue

Correct answer: a

Dispatcher নির্বাচিত process-কে CPU দেয়।

Sign in to save reading progress

25983. MCQ2019-2020 · Question 10.8

viii) Physical memory is broken into fixed sized blocks called ....... [Physical memory এর নির্দিষ্ট আকারের বিভক্ত ব্লককে বলে ........।]

a.
Frames
b.
pages
c.
backing store
d.
kernel

Correct answer: a

Physical memory-এর fixed-size blocks হলো frames; virtual memory-এর blocks pages।

Sign in to save reading progress

25984. MCQ2019-2020 · Question 10.9

ix) Communication between a computer and a keyboard involves ....... transmission. [কম্পিউটার ও কি বোর্ডের মধ্যে যোগাযোগ হলো ......... ট্রান্সমিশন।]

a.
automatic
b.
half-duplex
c.
full-duplex
d.
simplex

Correct answer: d

প্রশ্নের সরল data-flow model-এ keyboard থেকে computer: simplex। বাস্তব USB/PS2 link bidirectional control-ও বহন করে।

Sign in to save reading progress

25985. MCQ2019-2020 · Question 10.10

x) The 802.16 is a standard for ....... [802.16 হলো ......... এর স্ট্যান্ডার্ড।]

a.
logical link control
b.
wireless LAN
c.
Broadband wireless
d.
personal area networks (Bluetooth)

Correct answer: c

IEEE 802.16: broadband wireless access।

Sign in to save reading progress

25986. MCQ2019-2020 · Question 10.11

xi) In 1-to-4 multiplexer, how many select lines are required? [1-to-4 multiplexer এর কয়টি সিলেক্ট লাইন প্রয়োজন?]

a.
2
b.
3
c.
4
d.
5

Correct answer: a

4টি line নির্বাচন করতে log2(4) = 2 select bit। 1-to-4 device-টির সঠিক নাম demultiplexer।

Sign in to save reading progress

25987. MCQ2019-2020 · Question 10.12

xii) A 2 ohms resistor having 1 ampere current will dissipate the power of ...... [একটি 2 ohm রেজিস্টারে মধ্যে দিয়ে 1 ampere বিদ্যুৎ প্রবাহিত হলে ......... পাওয়ার নির্গত হবে।]

a.
2 watts
b.
2 joules
c.
1 watt
d.
1 joule

Correct answer: a

\(P=I^2R=1^2\times2=2\,\mathrm W\)।

Sign in to save reading progress

25988. CQ / Written2017-2018 · Question 1a

01. (a) Write down a program in C language that takes three sides of a triangle as input and determine whether they from a valid triangle or not. [C language- এ একটি প্রোগ্রাম লিখ যা ত্রিভুজের তিনটি বাহু ইনপুট হিসাবে নিবে এবং ওই বাহু তিনটি দ্বারা সঠিক ত্রিভুজ গঠিত হবে কিনা তা নির্ধারণ করবে।] (08)

CQ / Written solution

#include <stdio.h>

int main(void) {
    double a, b, c;
    if (scanf("%lf%lf%lf", &a, &b, &c) != 3) return 1;
    int valid = a > 0 && b > 0 && c > 0
        && a + b > c && a + c > b && b + c > a;
    puts(valid ? "Valid triangle" : "Invalid triangle");
    return 0;
}

Sign in to save reading progress

25989. CQ / Written2017-2018 · Question 1b

01. (b) Write down the difference between local and global variable in C language? [C language- এ লোকাল এবং গ্লোবাল ভেরিয়েবলের মধ্যকার পার্থক্য লিখ।] (06)

CQ / Written solution

LocalGlobal
Block/function-এর ভিতরে declaredFunction-এর বাইরে file scope-এ declared
Scope enclosing blockDeclaration visible এমন scope-এ ব্যবহারযোগ্য
Automatic local সাধারণত block শেষ হলে শেষ হয়; static local টিকে থাকেStatic storage duration: program চলাকালীন টিকে থাকে
Explicit initializer না থাকা automatic local-এর value indeterminateUninitialized global zero-initialized

Sign in to save reading progress

25990. CQ / Written2017-2018 · Question 2a

02. (a) Suppose a coin is flipped three times. What is the probability of getting a tail twice and a head once? [একটি মুদ্রাকে তিনবার নিক্ষেপ করা হল। দুই বার টেইল ও একবার হেড পাওয়ার সম্ভাবনা কত?] (07)

CQ / Written solution

Fair ও independent coin toss ধরে favorable ফল HTT, THT, TTH।

\[P=\binom32(1/2)^3=\boxed{3/8}\]

Sign in to save reading progress