Monday, June 16, 2025

Programming in C — Arrays & Strings - KTU Module 1

 Arrays

An array is a variable that can store multiple values. For example, if you want to store 5 integers, you can create an array for it.

To create an array, define the data type (like int) and specify the name of the array followed by square brackets [].

Thursday, May 29, 2025

Programming in C — Fundamentals - KTU Module 1

 C is a powerful general-purpose programming language created by Dennis Ritchie at the Bell Laboratories in 1972 and known for its efficiency and flexibility.

It is a very popular language, despite being old. The main reason for its popularity is because it is a fundamental language in the field of computer science.

Wednesday, March 9, 2022

DoS & DDoS: Denial-of-service attack

  • A denial-of-service (DoS) attack is a security threat that occurs when an attacker makes it impossible for legitimate users to access computer systems, networks, services or other information technology (IT) resources. 
  • Attackers in these types of attacks typically flood web servers, systems or networks with traffic that overwhelms the victim's resources and makes it difficult or impossible for anyone else to access them.
  • Restarting a system will usually fix an attack that crashes a server, but flooding attacks are more difficult to recover from. Recovering from a distributed DoS (DDoS) attack in which attack traffic comes from a large number of sources is even more difficult.
  • DoS and DDoS attacks often take advantage of vulnerabilities in networking protocols and how they handle network traffic. 
  • For example, an attacker might overwhelm the service by transmitting many packets to a vulnerable network service from different Internet Protocol (IP) addresses.

Batch Programming

 Batch Programming


  • Batch file programming is a way of making a computer do things simply by creating a batch file.

  • Batch programming is a programming paradigm that can execute certain commands automatically at the level of an operating system such as DOS or Windows 7 / XP. 

  • A batch file is a stack of such commands. If it is retrieved with the command line, the system will execute each task listed in succession. 

  • Batch files are often used to control and configure operating systems, but can also be used for other operations such as server installations. 

  • A batch file is a collection of instructions that are used to run multiple commands at a time. It is a bundle of packages that are written In a sequence so that the user does not have to put commands and instructions again and again. These files contain .bat extension. This means that you have to save the batch files by using the .bat extension at the end of the file name. These are DOS commands and also can run on command prompt.