Java Programming Exercises and Core Concepts

String Length Calculation in Java

Q.1(c) Write a program to calculate the length of a string.

import java.util.*;

class StringLength {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        String str;
        System.out.println("Enter a string:");
        str = sc.nextLine();
        System.out.println("String length=" + str.length());
    }
}

Command Line Arguments for Addition

Q. 2(b) Write a program using command line arguments to add two numbers.

public 
Read More

Industrial IoT Fundamentals: Architecture and Security

Q1. Relationship Between IoT and IIoT

IIoT (Industrial IoT) is a specialized branch of IoT applied to factories, energy, and other industrial settings. Both connect physical devices to networks to collect and exchange data, but their priorities differ: consumer IoT focuses on convenience and cost, while IIoT focuses on reliability, safety, and precision. IIoT systems must tolerate harsh environments, run continuously, and meet strict real-time and security requirements because a failure can stop

Read More

Captured by Spanish Brigands: A Tale of Survival

The Confrontation with the Muleteer

Gesticulation endeavored to arrest them. Finding that they heeded not his orders, he put his hand on his knife, but in a moment the boys’ dirks flashed in the air. “Now, my lad,” Hawtry said. “Two can play at that game, and if you draw that knife, we’ll let daylight into you.”

The Spaniard hesitated, then drew back and gave a loud, shrill whistle which was, the boys fancied, answered in the distance. “Come on, Jack. We must run for it. We can leave this lumbering

Read More

Effective Counseling Methods and Psychological Interventions

Couple and Family Counseling

Nature of Family Therapy

  • Relationship focus
  • Family as a system
  • Circular causality
  • Family dynamics
  • Improve family functioning

Scope of Practice

  • Conflicts
  • Communication
  • Child rearing
  • Financial issues
  • Values
  • Sexual problems
  • Extra-marital issues
  • Domestic violence

Therapeutic Goals

Couple Counseling

  • Confidential environment
  • Equal opportunity
  • Identify conflicts
  • Communication skills
  • Trust and respect
  • Follow-up

Family Counseling

  • Key Concepts
  • Homeostasis
  • Feedback
  • Circular causality
  • Equifinality
  • Morphogenesis
  • Communication
  • Family
Read More

বিখ্যাত বাংলা কবিতার মূলভাব ও সাহিত্যিক বিশ্লেষণ

কাণ্ডারী হুঁশিয়ার কবিতার মূলভাব ও বিশ্লেষণ

কাজী নজরুল ইসলামের “কাণ্ডারী হুঁশিয়ার” (বা “কাণ্ডারী হুঁশিয়ার!”) কবিতাটি বাংলা সাহিত্যের বিদ্রোহী ধারার এক উজ্জ্বল নিদর্শন। এটি তাঁর “সর্বহারা” কাব্যগ্রন্থের

Read More

Indian Securities Regulation and Market Efficiency

Securities and Exchange Board of India (SEBI)

The Securities and Exchange Board of India (SEBI) is the regulatory body for the securities market in India. It is responsible for regulating and supervising the market to ensure its proper functioning. SEBI issues various guidelines periodically to ensure that the market operates in a fair and transparent manner.

Key SEBI Guidelines

  • Insider Trading: SEBI has issued guidelines to prevent insider trading. This refers to the practice of buying or selling
Read More

English Syntax: Verb Types and Relative Clause Variation

Verb Classifications and Structures

Intransitive verbs (H): These do not require a complement. Example: She signed.

Copulative verbs (H + PCS): These take a complement which refers to the subject. Examples: She is happy; they are angry. Note that the Predicative Complement of the Subject (PCS) can be an adjective, noun, prepositional phrase, or clause.

Transitive verbs (H + DO): Example: I am eating an apple.

Complex-transitive verbs (H + DO + PCO or H + PCO + DO): Example: You are driving my family

Read More

Professional Practice and Engineering Laws in India

Group A: Very Short Answer Type Questions

1. National body responsible for setting quality standards in India:
Bureau of Indian Standards (BIS).

2. NTP stands for: Notice to Proceed.

3. Full form of ADR: Alternative Dispute Resolution.

4. When was the Workmen’s Compensation Act passed in India?
1923.

5. Full form of IP in legal context: Intellectual Property.

6. Professional body that certifies engineers in India: Institution of Engineers (India) [IEI].

7. Force Majeure: An unforeseen event beyond the control

Read More

Bioinformatics, Pharmacokinetics, and IT Systems Essentials

Bioinformatics: Definition and Core Goals

Bioinformatics is an interdisciplinary field that combines biology, computer science, and information technology to collect, store, manage, analyze, and interpret biological data. It is primarily used for studying biological information such as DNA sequences, RNA sequences, proteins, and genomes using computer tools and software.

Primary Goals of Bioinformatics

  • Data Storage and Management: Organizing large volumes of genetic and protein data.
  • Data Analysis:
Read More

Comparative Legal Systems and the Legal Profession

Brest State University: History and Academic Life

Brest State University was founded in 1945 as a Teachers’ Training Institute and became a university in 1995. It is named after Alexander Pushkin. The university occupies several academic buildings, including an old building, a sports complex with gymnasiums and a swimming pool, and a seven-story building with a library, canteen, laboratories, and lecture halls.

Students have four hostels, a winter garden, an agricultural and biological station, and

Read More