Posts

Memory Page (Virtual Memory)

Image
    \>mp \>mp kn                : Open this docement \>mp code   \mp dec                :  Display address value in decimal \mpd       ______________________________________________________________________________________     When you run a program, the operating system (Windows) allocates 4GB of memory (address) for each program (process). (in 64-bit environment, 256TB, 2^48, only 48 of the 64 bits are used for addressing)   This memory is virtual memory that mapped to actual physical memory.     Every time memory is accessed, the conversion to the actual physical address is not a matter of concern for the process because the operating system and CPU take care of it through quite cumbersome processes. (It is implemented in collaboration between the OS and the CPU, such as the page table that divides the virtual address into 4KB units (pages) and maps them to actual physical addresses, ...)     Windows manages the entire virtual address space of 4GB assigned to each process by

Endian

Image
ex)  When putting 16-bit numeric data consisting of 2 bytes into memory,     1. Put bytes into memory in array order. (Big Endian)     2. Put the lower byte into memory first (Little endian)   (Little endian)     Maybe)   The method of inserting the lower byte first is a method that is advantageous in terms of speed because when performing calculations, the lower byte used first is taken out of memory in order. (byte order is stored in reverse)   Nowadays, memory speed is much faster, so it doesn't mean much.   Intel CPUs use the lower-first method,   Big Endian is the standard in network communication.   In Intel computers, you must pay attention to Endian when handling data transmitted over the network.   The same applies when transmitting,         ______________________________________________________________________________   System Internals System Internals (developer edition)       ▪▪    

(C# Coding) DataSet & XML, Database Programming

C# & .Net Framework     What to do ?   To save the information as below, create a table with C# code and save it as a file (Xml file).     [Student]   ID   Name     Phone Number     0   ABC   000-111-2222     1   DEF   000-111-3333     2   GHI   000-111-4444                   ______________________________________________________________________________________________ 1. Creating Table in Memory and Configuring Fields    Create the table below using C# code and save it as an XML file   field name   Caption in XML File ID PK, Auto Increment   Attribute Name String Student Name Attribute HP String Phone Number                 First, declare the DataSet and DataTable variables.       public partial class Form1 : Form {   →      DataSet mDataSet = new DataSet ("DataSet"); →      DataTable mStudentTable = new DataTable ("Student");          Above, the name of the DataSet is "DataSet" and the name of the student table is "Student".   -> is Data