Agrani Bank Officer (ICT) Exam 2017 — Question Solution | অগ্রণী ব্যাংক অফিসার (আইসিটি) নিয়োগ পরীক্ষা ২০১৭ — প্রশ্ন সমাধান
- Agrani Bank
- Officer (ICT)
- 2017
- 8 questions · 0 MCQ, 8 written
Page updated
ARBS Academy · itjobs.arbsacademy.com
About this exam paper · প্রশ্নপত্র পরিচিতি
The Agrani Bank Officer (ICT) exam was held in 2017. The paper had 8 written questions. The subjects asked most were Database (2), Programming (2) and Web Technology (2). 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
- Agrani Bank
- Post
- Officer (ICT)
- Exam date
- 2017
- Questions
- 8 (0 MCQ, 8 written)
- Exam guide
- Bank IT jobs · ব্যাংকের আইটি চাকরি
What is the SQL query for showing only the duplicate lists in student (id, name, gpa) table?
Write the use cases of withdrawing money for ATM card.
Show the translation process of a NAT Box.
Sign up free to see the model answers to written questions 1–3 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
What is .NET framework? Write the main components of .NET framework?
Model answer
.NET Framework is Microsoft's software development and execution platform for building and running Windows applications and web services. At its heart are two parts: the Common Language Runtime (CLR), which manages code while it runs, and the .NET Framework Class Library (FCL), a large library of reusable types. Code that runs under the CLR is called managed code.
How a .NET program runs
flowchart LR
SRC["Source code in C# or VB.NET"] --> CMP["Language compiler (csc, vbc)"]
CMP --> ASM["Assembly (.exe/.dll): MSIL + metadata"]
ASM --> CLR["CLR: JIT compiler"]
CLR --> NAT["Native machine code runs on the CPU"]
Main components
| Component | What it does |
|---|---|
| CLR (Common Language Runtime) | The execution engine: loads assemblies, JIT-compiles MSIL into native code (managed code is never interpreted), performs garbage collection (automatic memory management), thread management, exception handling, type-safety verification and code-access security. |
| FCL / BCL (Class Library) | Reusable classes for strings, collections, file I/O, networking, XML, database access and more. The BCL is its core part (System, System.IO, System.Collections); the full FCL also contains the application frameworks below. |
| CTS (Common Type System) | Defines how every type (value types and reference types) is declared and behaves, so all .NET languages share one type system: C# int and VB.NET Integer are both System.Int32. |
| CLS (Common Language Specification) | A subset of CTS rules; a library that follows it can be used from any CLS-compliant .NET language. |
| Assemblies, MSIL and metadata | Compiled output (.exe/.dll) holding MSIL (also called CIL) code, metadata describing its types, and a manifest for versioning and deployment. |
| Application frameworks | ASP.NET (web apps and web services), ADO.NET (database access), Windows Forms and WPF (desktop GUIs), WCF (service-oriented apps), WF (workflow apps). |
Worked example: language interoperability
A class written in VB.NET:
Public Class Vat
Public Shared Function AddVat(ByVal price As Decimal) As Decimal
Return price * 1.15D
End Function
End Class
used from C#:
using System;
class Shop
{
static void Main()
{
decimal bill = Vat.AddVat(200m); // VB.NET method called from C#
Console.WriteLine("Bill with VAT: " + bill);
}
}
Build with vbc -target:library -out:Vat.dll Vat.vb, then csc -r:Vat.dll Shop.cs. Running Shop.exe prints:
Bill with VAT: 230.00
Both files compile to MSIL, share CTS types (Decimal is System.Decimal in both languages) and run on the same CLR.
Current status: .NET Framework 4.8.1 is the latest version (it uses CLR 4). It runs only on Windows and is still serviced, but for new development Microsoft recommends the cross-platform .NET (formerly .NET Core).
Exam tip: write ".NET Framework = CLR + Class Library (FCL/BCL)", then add CTS, CLS, MSIL→JIT and ASP.NET/ADO.NET/WinForms/WPF for full marks.
What is local Storage and session Storage in HTML5?
Model answer
localStorage and sessionStorage are the two objects of the HTML5 Web Storage API. Both let JavaScript keep key–value pairs (stored as strings) inside the user's browser, separately for each origin (scheme + host + port). Unlike cookies, the data is not sent to the server with every HTTP request, and each object can hold about 5 MiB per origin.
localStorage: data stays saved with no expiry date. It survives page reloads, closing the tab and even restarting the browser or computer, until it is deleted by script (removeItem()/clear()) or by the user clearing site data. It is shared by all tabs and windows of the same origin.
sessionStorage: data lasts only for one page session, that is, one browser tab. It survives a reload of that tab, but it is deleted when the tab or window is closed. The same site opened in another tab gets its own, separate sessionStorage.
| Basis | localStorage |
sessionStorage |
|---|---|---|
| Lifetime | Until deleted by code or the user | Until the tab/window is closed |
| Survives browser restart | Yes | No |
| Survives page reload | Yes | Yes |
| Visible to | Every tab/window of the same origin | Only the tab that created it |
| Typical use | Theme, language, saved cart, offline drafts | Steps of a multi-page form, one-time filters, per-tab state |
| API | setItem, getItem, removeItem, clear, key(n), length |
Exactly the same methods |
Example
// localStorage: still there after the browser is closed and opened again
localStorage.setItem("lang", "bn");
const prefs = { theme: "dark", fontSize: 18 };
localStorage.setItem("prefs", JSON.stringify(prefs)); // objects must be turned into text
console.log(localStorage.getItem("lang"));
console.log(JSON.parse(localStorage.getItem("prefs")).fontSize);
// sessionStorage: only this tab, gone when the tab closes
sessionStorage.setItem("formStep", "2");
console.log(sessionStorage.getItem("formStep") + 1); // string joining
console.log(Number(sessionStorage.getItem("formStep")) + 1); // number addition
sessionStorage.removeItem("formStep");
console.log(sessionStorage.getItem("formStep"));
console.log(localStorage.length);
Output (on an origin with no other stored keys):
bn
18
21
3
null
2
Points to remember
- Values are always strings:
"2" + 1gives"21"; useJSON.stringify()/JSON.parse()for objects andNumber()for numbers. A missing key returnsnull. - The API is synchronous; going over the quota throws a
QuotaExceededError. - When
localStoragechanges, the browser fires astorageevent in the other open tabs of the same origin, which can keep tabs in sync. - Any script running on the page can read Web Storage, so an XSS flaw can steal it: never keep passwords, card data or login tokens there; an
HttpOnlycookie is safer for a session ID.
localStorage |
sessionStorage |
Cookie | |
|---|---|---|---|
| Size | About 5 MiB | About 5 MiB | About 4 KB per cookie |
| Sent to the server automatically | No | No | Yes, with every matching request |
| Expiry | Never (until cleared) | Tab close | Set by Expires/Max-Age, or at browser close |
Exam tip: localStorage = permanent and shared across tabs; sessionStorage = one tab, cleared on tab close; both store strings, stay in the browser and are never sent to the server automatically.
Write down the proper use of these semantics in HTML - <header>, <footer>, <article> and <section>.
Write about the performance of a function written in a recursive way compared with its non-recursive version.
Write down the differences between super key and candidate key with example.
Sign up free to see the model answers to written questions 6–8 · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন
Explanations © ARBS Academy
Keep going with a free account · ফ্রি অ্যাকাউন্টে যা যা করতে পারবেন
6 more answers from this paper open with a free account.
এই প্রশ্নপত্রের আরও ৬টি উত্তর, ধাপে ধাপে ব্যাখ্যাসহ, ফ্রি অ্যাকাউন্টে খুলবে।
Free account · 1 day of Premium free
Paper analysis · প্রশ্নপত্র বিশ্লেষণ
Its questions come from 6 syllabus chapters; ER Model & Design, SQL & Queries and Functions & Recursion lead, with 1 each. ER Model & Design is asked in 101 other papers too (2015–2026).
Its biggest topics · প্রধান টপিক
Questions in this paper, and how many of our other papers ask the topic
- ER Model & Design Database · 101 other papers, 2015–20261
- SQL & Queries Database · 93 other papers, 2015–20261
- Functions & Recursion Programming · 60 other papers, 2016–20261
- Requirements & Design Software Engineering · 50 other papers, 2016–20261
- HTML & CSS Web Technology · 33 other papers, 2016–20261
- Network Security Networking · 24 other papers, 2012–20261
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 Agrani Bank Officer (ICT) exam (2017)?
- 8 written questions.
- Which subjects were asked most in the Agrani Bank Officer (ICT) exam (2017)?
- Database (2), Programming (2) and Web Technology (2), out of 8 questions.
- When was the Agrani Bank Officer (ICT) exam held?
- In 2017. The exact day isn't in our records.
- Where can I find the Agrani Bank Officer (ICT) exam (2017) question solution?
- On this page: 2 of the 8 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