BCC Assistant Programmer Exam 11 November 2023 — Question Solution | বাংলাদেশ কম্পিউটার কাউন্সিল (বিসিসি) সহকারী প্রোগ্রামার নিয়োগ পরীক্ষা ২০২৩ — প্রশ্ন সমাধান
- BCC
- Assistant Programmer
- 11 November 2023
- 71 questions · 0 MCQ, 71 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The BCC Assistant Programmer exam was held on 11 November 2023. The paper had 71 written questions. The subjects asked most were Programming (20), Networking (10) and Database (9). This page lists every question, with 2 answered and explained; the rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
বাংলাদেশ কম্পিউটার কাউন্সিল (বিসিসি) সহকারী প্রোগ্রামার নিয়োগ পরীক্ষার (২০২৩) এই প্রশ্নপত্রে ৭১টি প্রশ্ন ছিল, বেশিরভাগ প্রোগ্রামিং ও নেটওয়ার্কিং থেকে। এখানে ২টি প্রশ্নের ব্যাখ্যাসহ উত্তর দেওয়া আছে; বাকিগুলো ফ্রি অ্যাকাউন্টে খোলে।
- Organisation
- BCC
- Post
- Assistant Programmer
- Exam date
- 11 November 2023
- Questions
- 71 (0 MCQ, 71 written)
- Exam guide
- Government IT officer posts · সরকারি প্রতিষ্ঠানের আইটি পদ
- Programming · প্রোগ্রামিং 20
- Networking · নেটওয়ার্কিং 10
- Database · ডেটাবেজ 9
- Cloud & Emerging Tech · ক্লাউড ও উদীয়মান প্রযুক্তি 7
- Cyber Security · সাইবার নিরাপত্তা 6
- Data Structures · ডেটা স্ট্রাকচার 5
- Web Technology · ওয়েব টেকনোলজি 4
- General Knowledge · সাধারণ জ্ঞান 3
- Algorithms · অ্যালগরিদম 2
- English Grammar · ইংরেজি ব্যাকরণ 2
- Mathematics · গণিত 2
- General ICT · সাধারণ আইসিটি 1
IPv6 is how many bits?
Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What are the inbuilt classes?
Model answer
Inbuilt (built-in) classes are the predefined classes that come with a programming language or its standard library. They are already written, compiled and tested, so the programmer simply uses them (directly, or after an import/#include) instead of writing the class from scratch.
Key points
- Ready-made: no class definition is needed; you create objects of them or call their methods.
- Come with predefined methods: e.g.
length()ofString,sqrt()ofMath. That is why built-in classes and predefined methods are taught together: the class is the type, the method is one operation inside it. - Grouped in packages/modules: in Java,
java.langis imported automatically;java.utilclasses needimport. - Opposite: user-defined classes, which the programmer writes for a particular problem (e.g.
Student,BankAccount).
| Language | Common built-in classes | How they are made available |
|---|---|---|
| Java | String, Math, Integer, Object, System (java.lang); Scanner, ArrayList, HashMap (java.util) |
java.lang automatic; others by import java.util.*; |
| C++ | std::string, std::vector, std::map (Standard Library) |
#include <string>, <vector>, <map> |
| Python | int, str, list, dict, set; datetime.date |
built-ins directly; import datetime |
| C# | String, Math, Console, List<T> |
using System;, using System.Collections.Generic; |
| Built-in class | User-defined class |
|---|---|
| Supplied by the language/library | Written by the programmer |
| General purpose, already tested | Specific to one application |
| Cannot (normally) be edited | Fully controlled by the programmer |
Example (Java):
import java.util.ArrayList;
public class BuiltInDemo {
public static void main(String[] args) {
String city = "Rajshahi"; // String: java.lang
System.out.println(city.length());
System.out.println(city.toUpperCase());
System.out.println(Math.sqrt(81)); // Math: java.lang
System.out.println(Math.max(14, 27));
ArrayList<Integer> marks = new ArrayList<>(); // ArrayList: java.util
marks.add(72);
marks.add(88);
System.out.println(marks + " size=" + marks.size());
int seats = Integer.parseInt("45"); // Integer wrapper: java.lang
System.out.println(seats + 5);
}
}
Output:
8
RAJSHAHI
9.0
27
[72, 88] size=2
50
No String, Math, ArrayList or Integer class was written here; all four are built-in.
Exam tip: define them as "predefined, ready-to-use classes of the standard library", give 3–4 examples from one language, and contrast them with user-defined classes.
Which statement allows you to define a block of code to be tested for exceptions while it is being executed?
An optical fiber has a single solid dielectric cylinder, known as the core, which is surrounded by a solid dielectric ____. What is it called?
What does the axon of a neural network do?
In which layer IPsec works?
What can be used to terminate for(;;)?
A feature of object-oriented programming languages that allows a specific routine to use variables of different types at different times is called?
Which variable violates the principle of encapsulation?
What is the degree of relation?
What is the popular way of linking many documents?
Software downloaded from internet and installed that is malicious is called-
Sign up free to see the model answers to written questions 3–12 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which type of members can't be accessed in derived classes of a base class?
What is the minimum node for binary tree?
What is the syntax for calling a static method of a class?
In which normalizations is functional dependency used?
When a function is called more than one time, what is it called?
Which level of abstraction specifies the data and relationships between data?
What is a distributed ledger on a peer-to-peer network called?
What are hackers who find bugs and vulnerabilities called?
Which data structure is used in recursion?
What is the D in ACID property in database?
Sign up free to see the model answers to written questions 13–22 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is the prefix conversion of the expression A+(B-C)*D?
In which way can blockchain data be modified?
What does runFinalize() do?
What is the minimum number of nodes in a binary tree?
A distributed ledger in a peer-to-peer network is called?
Which type of variable violates encapsulation rules?
Sign up free to see the model answers to written questions 23–28 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is the function of a firewall?
Model answer
Answer: A firewall is a hardware appliance or software program placed between a trusted network (or a single host) and an untrusted one, such as the Internet. It examines incoming and outgoing traffic and allows or blocks it according to a set of security rules, so that only authorised communication passes and everything else is stopped.
Main functions of a firewall
- Packet filtering: compares each packet's source/destination IP address, port number and protocol with an access-control list (ACL) and permits or drops it.
- Stateful inspection: keeps a state table of active connections and admits an incoming packet only if it belongs to a connection that was already allowed (for example, the reply to a web request sent from inside).
- Application-level filtering: a proxy or application firewall reads the content of protocols such as HTTP or DNS and can block malicious URLs, commands or file types.
- Network Address Translation (NAT): hides internal private addresses behind one public address.
- Logging and alerting: records allowed and blocked attempts for audit and incident response.
- Segmentation: separates zones such as the internal LAN, a DMZ (public-facing servers) and the Internet; many firewalls also terminate VPN tunnels.
graph LR
NET["Internet (untrusted)"] --> FW{"Firewall: rule check"}
FW -->|"allowed"| DMZ["DMZ: web and mail servers"]
FW -->|"allowed"| LAN["Internal LAN (trusted)"]
FW -.->|"denied"| DROP["Dropped and logged"]
Example rule set for a small office (checked top-down, first match wins):
| # | Source | Destination | Port / protocol | Action |
|---|---|---|---|---|
| 1 | Any | Web server 10.0.5.20 | TCP 443 (HTTPS) | Allow |
| 2 | LAN 192.168.10.0/24 | Any | TCP 80, 443 | Allow |
| 3 | Any | Any | Any | Deny (default deny) |
Types of firewall
| Type | What it inspects | Remark |
|---|---|---|
| Packet-filtering | IP header and TCP/UDP ports (layers 3–4), each packet on its own | Fast, but has no idea of connections |
| Stateful inspection | Headers plus the connection state | Most common in routers and operating systems |
| Application / proxy | Application data (layer 7) | Deep control, but slower |
| Next-Generation Firewall (NGFW) | Stateful filtering plus deep packet inspection, application awareness and a built-in IPS | Modern enterprise choice |
Firewalls can also be host-based (software on one computer, such as Windows Defender Firewall) or network-based (an appliance protecting a whole network).
Limitations: a firewall cannot stop attacks hidden inside traffic it allows (a phishing e-mail, malware in permitted HTTPS that is not inspected), insider misuse, or traffic that bypasses it. It is therefore combined with IDS/IPS, antivirus, patching and user awareness.
Exam tip: function of a firewall = enforce the security policy at a network boundary — filter by address/port, connection state or content, allow what is authorised and deny everything else by default.
Convert the expression A + B * C + D to prefix notation.
Intelligence can not be measured only by intelligence test because it is related to other subjects. (True or False)
Machine learning is a subset of cloud computing that can be built AI-Based. (True or False).
Hacking a system without cracking the system, only for finding bugs and vulnerabilities, is called?
What is the difference between Null and Void?
If you download an email and then face a problem, which attack are you facing?
What are the built in classes?
What does the axon of neural network do?
In which layer IPsec works?
What can be used to terminate for(;;)?
Sign up free to see the model answers to written questions 30–39 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is the degree of relation in dbms?
What is the popular way of linking many documents?
What is the full form of BDCCL?
Software downloaded from internet and installed that is not malicious is called?
Which members of a base class cannot be accessed by a derived class?
Which tag is used to write JavaScript in html?
Which tag is used for creating button in html?
How many classes can be used in Hybrid Inheritance?
What does runFinalization() do in Java?
What is data about data?
Sign up free to see the model answers to written questions 40–49 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Antonym of "fantasy":
What is the largest two-digit natural number (a part of the number system, which includes all positive integers from 1 to infinity)?
Unit of data link layer?
Which layer is used to link the network support layers and user support layers?
Which technique is used for binary division check in network?
Which sort uses the divide and conquer technique?
Which are the fastest sorting algorithms?
Which normalization is related to functional dependency?
What technique allows simultaneous transmission of multiple signals across a single data link?
What will occur when an array is declared without size?
Sign up free to see the model answers to written questions 50–59 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is the meaning of "see eye to eye"?
Who is the inventor of IR 4.0?
If the average of seven consecutive even numbers is 62, then the one-fourth of twice of total of first and sixth number is?
What are the layer numbers of the Network layer and the network support layers?
Which type of variable violates encapsulation rules?
What syntax is used for calling static methods in class?
Which protocol is used for email received?
Functional dependency use in which normalizations?
When a function is called more than one time that is called?
Machine learning is a subset of cloud computing that can be built AI-Based. True or False.
Sign up free to see the model answers to written questions 60–69 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Which join is used to include all records, including the non-matching ones, in the output?
What is the name of a technique that will be used to make multiple copies of target DNA in vitro?
Sign up free to see the model answers to written questions 70–71 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
69 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ৬৯টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 26 syllabus chapters; the biggest is Object-Oriented Programming, in Programming, with 7 questions. Object-Oriented Programming is asked in 88 other papers too (2015–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- Object-Oriented Programming Programming · 88 other papers, 2015–20267
- Language Basics & Syntax Programming · 122 other papers, 2015–20266
- Attacks & Threats Cyber Security · 81 other papers, 2012–20265
- OSI & TCP/IP Models Networking · 112 other papers, 2012–20264
- ER Model & Design Database · 101 other papers, 2015–20264
- Trees Data Structures · 47 other papers, 2015–20264
From our own past papers: each question filed under one syllabus chapter. Practice and held questions are not counted.
Questions about this paper · সাধারণ প্রশ্ন
- How many questions were in the BCC Assistant Programmer exam (2023)?
- 71 written questions.
- Which subjects were asked most in the BCC Assistant Programmer exam (2023)?
- Programming (20), Networking (10) and Database (9), out of 71 questions.
- When was the BCC Assistant Programmer exam held?
- On 11 November 2023.
- Where can I find the BCC Assistant Programmer exam (2023) question solution?
- On this page: 2 of the 71 questions are shown with worked answers. The rest of the answers open with a free ARBS Academy account, where the paper can also be practised as a timed test.
Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers