Digital Logic Circuit - Quiz

 

How to Merge/Combine Partition drive in Windows 10

  • If your drive is getting filled up with files and running into an issue "Not enough free space" and at the same time, there is another drive with plenty of space left. To increase the space, we can merge the drives to solve the issue.
  • For example, if C: drive is getting full but partition D: drive has enough space left. Then you increase the C: drive space by merging C: and D: drive into one.
  • We can do this using the Disk Management tool by deleting the target drive (D:) to unallocate the space. Then Extend the Volume of the source drive (C:) with Extend options.
  • But, Note using the Disk Management tool to merge partitions require us to delete the partition first to create unallocated space. Therefore, you should take back up your data either by manual copy files or using a backup software tool.

Loop control statements - Break, Continue, Pass in Python

Break, Continue, Pass in Python:
  • As we know, in Python we have two types of the loop 'for' and 'while' which allows us to iterate over a list, tuple, string, dictionary, and set. 
  • But there are some cases where we want our loop to exit completely or skip a part of the loop or ignores some particular condition. 

Printer file (PRTF) Design using Report Layout Utility (RLU) in AS400 | iSeries

Purpose of RLU:

  • To design a report by defining it on the display, saving it as a DDS source, and creating a printer file.
  • Printer file is the same as of spool file which is used for reporting purposes.

Starting RLU:
  • Enter the source physical file name, library name, and the RLU (printer file) name that we are going to create.
  • We can also specify the page width. By default, it will remain as 132.

How to create new partition from C: drive in windows 10 without formatting

  • In Windows 10 PC, you have C: drive which contains all program files, in addition, it also has all your saved word documents, photos, and your important files. In case of the worst scenario, if your operating system becomes corrupted, then all your important files will get lost.
  • To avoid such data loss and to keep your most important files separate, we will go for a separate space from your C: drive using a partition. By doing this, even if your operating system gets corrupt, we will likely be able to get all your important files safely.
  • It is always safer and best practice to put your personal files or important files on a different partition.
  • This blog post demonstrates how easily we can partition the C: drive using a built-in disk manager in windows 10.

While loop

What is While loop in Python?
  • A While loop in Python is used to execute a set of statements/ iterate over a block of code repeatedly as long as the given condition is true.
  • While loop is preferred when we don't know the number of iterations.
Syntax:
                    while condition:
                            body statements
  • The body statement of the while loop is separated from the rest of the code using indentation [tab].

For loop

What is For loop in Python?
  • A for loop in python has the ability to iterate over items of any sequence (List, tuple, string) or any other iterable objects.
  • Iterating over a sequence is called traversal.
Syntax:
                    for var in sequence:
                            body statements
    
  • Here, var is a variable that is used to take the next values from the sequence on every iteration until the end of the sequence is reached.