Why did the Japanese start a program of imperialism?
Japan had very few natural resources and a growing population.
Countries grow powerful in relation to the amount of resources they use in their industries, so to grow, they had to obtain their resources from other countries by the cheapest possible means, ie. by force.
Can you file a chapter 7 after a chapter 13?
Believe it or not, the ploy is called a Chapter 20!
A so-called "Chapter 20" bankruptcy is the process filing of a "Chapter 7" bankruptcy to discharge unsecured debts, followed by a "Chapter 13" bankruptcy to allow the debtor to catch up on mortgage payments.
The 2005 Bankruptcy Reform Act attempts to limit "Chapter 20" bankruptcies by imposing limits on the filing of successive bankruptcies. Under current bankrupcy law a Chapter 13 bankruptcy may be filed only once every two years, and three years must pass after the filing of a Chapter 7 bankruptcy before a Chapter 13 filing.
Some debtors attempt to circumvent this restriction by filing for Chapter 13 protection while the Chapter 7 petition is still pending. That option is not available in all courts. In a "Chapter 20" bankruptcy, debtors should be aware that missing even one mortgage payment after filing the initial "Chapter 7" petition may cost them their ability to save their home in a subsequent "Chapter 13" filing.
What is the job title of a person who writes and test computer programs?
The person who writes a computer program is called a programmer.
Programmers also typically handle some part of testing, the so-called unit test. Unit testing involves testing a small unit of code in relative isolation, and not necessarily as part of a complete and much larger system.
The person who designs the computer program and its chief principles and algorithms is called a software designer or software architect.
The general term for programmers and architects is software engineer.
The person testing a whole program, within the complete infrastructure, with different operating system versions or user languages, use-cases and whichever other important variation the program is expected to handle, is called a software test engineer or system test engineer.
In larger organizations, one (or more) people are responsible for each of these roles. In smaller organizations, programmer and architect are often the same person, but it is always preferable to have different person design and execute the system testing. In very small organizations, a single person may have to handle all these tasks.
How do passwords and usernames work and how are they encrypted?
A username is an account set up by a computer administrator. An administrator has full access of the data stored and can do such things as add or remove software. A username is good because it allows multiple people to use the same computer but at the same time restricting access if desired. Passwords are group of characters that are encrypted to prevent or slow down access to unwanted users. Most PC user do not have the software like ophcrack to hack and obtain passwords.
You must have the Java Run-time Environment installed on your computer.
Steps:
1. Open Command Prompt
2. Enter the command: javac class.java
3. Enter the command: java <classfilename> (without the .java or .class extension)
The javac command will compile your java source file and create a class file. The java command will execute or run your java class file.
How do you install c language in win 7?
How to download and install Turbo C++ in Windows 7....
1.Download dosbox 0.74 from dosbox.com and save in E: drive(say).
2.Download Turbo C++ 3.0.
3.Create a folder Turbo in E: drive & save all contents of Turbo C++ 3.0.
4.Open dosbox.
5.Type as follows:-
mount e e:\ <Press enter>
e: <Press enter>
cd turbo <Press enter>
install install <Press enter>
6.Proceed as per requirements.
7.A folder TC appears in E: drive.
8.To repeat the point 5. commands whenever you open the dosbox, go to E:\Dosbox-0.74\Dosbox-0.74 Options
9.Scroll down to the end of the page and write as follows:-
mount E E:\
E:
CD TC
CD BIN
TC.EXE
10.Now open dosbox by clicking its icon on desktop and find to open Turbo C++ directly, but in a small dialob box.
What are constants in computer programming?
A constant may refer to a literal constant, a constant variable.
A literal constant is a value that we use to initialise or assign to a variable, literally, such as:
int x {42}; // initialise
x = 0; // assign
Here, the values 42 and 0 are literal constants.
A constant variable is a variable which will not change value after initialisation:
const int x {42}; // initialise
x = 69; // error - cannot assign to a constant variable
Constant variables are useful when we wish to use the same constant value repeatedly within a scope. We could also use a literal constant rather than a constant variable, however naming our constants makes it easier to refer to the value consistently, particularly during code maintenance where we may wish to review the value. With a constant variable we need only change the initialiser, but with literal constants we must change every occurrence of the literal and that can lead to inconsistencies. Consider the following:
int x[100];
int y[100];
for (int i=0; i<100; ++i) { cout << x[i] << endl; }
// ...
for (int i=0; i<100; ++i) { cout << y[i] << endl; }
Here we've used the literal constant 100 four times. At a future time we may decide array x really needs 200 elements rather than 100, but we have to be careful which literals we change because array y makes use of that same literal constant. Using constant variables helps keep those usages separate:
const int xmax {100};
const int ymax {100};
int x[xmax]; int y[ymax]; for (int i=0; i<xmax; ++i) { cout << x[i] << endl; } // ...
for (int i=0; i<ymax; ++i) { cout << y[i] << endl; }
Now we can safely change the xmax initialiser without affecting any usage of the ymax constant:
const int xmax {200};
const int ymax {100};
int x[xmax];
int y[ymax];
for (int i=0; i<xmax; ++i) { cout << x[i] << endl; }
// ...
for (int i=0; i<ymax; ++i) { cout << y[i] << endl; }
Note that a constant variable cannot be initialised by a non-constant variable:
int x {42};
const int y {x}; // error - x is non-constant
What is CASE Computer-Aided Software Engineering?
Case is an application used to help methodize and control the manufacturing of the software, it is mostly used to manage large/challenging projects to ensure the finished project is of high quality. Though you can use it in multiple other ways.
professional image editing ;)
Program to shut down a PC in c?
Well C language is a programming language it is used for designing programs. So you must be confused i can tell you how to shut your computer down using the command prompt though
*Step one open start and click run type cmd and press enter
*step two once the command prompt has opened type shutdown -i and press enter a dialogue box will appear
*Step three at the top of the box there is a button that says ADD click that and type your computers name if if you do not know your computers name opn the control panel then open system and choose the tab on the top that says computer name your computers full name will be located here
*Step four copy and paste your computers name into the box that popped up when you clicked add click ok now your computers name has been added to the list now from the drop down menu select what you want your computer to do restart shut down etc.
type a comment and select ok your computer should shutdown
Computer programming vs algorithm?
An algorithm describes the finite procedural steps required to solve a problem. Algorithms are typically written so humans can easily understand those steps. Computer programming is the means by which a computational problem is converted into executable code. This often entails the development of algorithms which must be converted from the human-readable form into native machine code, typically using high-level programming languages to produce the abstract, human-readable source code, and compilers or interpreters to produce the machine-readable code.
How do you create our own header file in c plus plus?
1. open word processing software. (Notepad or wordpad)
2. Write the desired function for the header.
3. Save it with .h as extension. Like "myheader.h"
4. Run cpp.
5. It should be like this... #include "myheader.h" 1. A header file is not any different to the compiler than ordinary code
2. Its just a convenient way to have commonly "included" code
3. It is primarily used for prototypes, not actual code, such as declaring an API
4. Be care with redeclarations. The #ifdef / #endif pragmas can help
5. The location of "user defined" headers is different than system headers
6. They are normally in the build directory, whereas system headers are elsewhere
In computer science, runtime or run time describes the operation of a computer program, the duration of its execution, from beginning to termination (compare compile time). The term is also used as a short form when referring to a runtime library (without a space), a program or library of basic code that is used by a particular computer language to manage a program written in that language while it is running. A runtime environment is a virtual machine state which provides software services for processes or programs while a computer is running. It may pertain to the operating system itself, or the software that runs beneath it.
How do I uninstall your operating system to install a new system?
There is no uninstaller for an operating system. To remove an OS, simply format the partition that holds the operating system. If you use a boot manager to choose between different operating systems the software should automatically detect missing operating systems for you.
Which CPU scheduling Algorithm is used by Windows XP OS?
In the past (and perhaps currently as well) it has used round-robin, at one time 1 second but since updated to .1 seconds. It may also have other features such as preemptive abilities.
Priority fair scheduling.
How do you search the given word in all files from the directory in java?
The program below will search all non-directory files in the starting directory. If you want to search all subdirectories, you'll have to modify it to recurse a bit.
Note that this will also only do plain text searches of files. It will most likely not find your string in a MS Word .doc file.
Also note that this will not find multiple-line search strings, since it reads and checks one line of the file at a time.
{
final String dirName; // path of directory you want to search
final String str = ""; // string to search for
final File dir = new File(dirName);
for (File f : dir.listFiles()) {
if (!f.isDirectory()) {
System.out.println(f + ": " + fileContains(f, str));
}
}
}
// returns true iff f contains str
private static final boolean fileContains(final File f, final String str) throws IOException {
final BufferedReader in = new BufferedReader(new FileReader(f));
String currentLine;
while ((currentLine = in.readLine()) != null) {
if (currentLine.contains(str)) {
in.close();return true;
}
}
in.close();
return false;
}
How can create a exe file in c?
An 'exe' extension file is created by a compiler that translates source code to machine code, usually in a Windows environment.
An executable program can open any file (including other executable files) by using the standard file API calls with a binary open option.
Unless you are doing something very specific with executable files it doesn't make much sense to read in an executable file from another executable file or program.
What you call Programs that come into a computer system disguised as something else?
Normally its called a Trojan or malware or spyware, that's if it installs by ti self say for instance while surfing the internet. If its installed by a person withoout your prior knowledge i do not know waht you call it then hope this will help you.
What computer programs are you familiar with?
Assuming you were asked the question originally, and are looking for an answer, there is nobody more qualified than yourself to answer that question; it is a question about your personal ability.
I am personally familiar with hundreds, if not thousands, of software applications, commands, operating systems, and so on, ranging from the mundane to the esoteric. My knowledge generally encompasses Microsoft-based and Linux-based Operating Systems, and many of the common multimedia, administration, servers, programming, file sharing, and office suite applications they have to offer. In fact, it would take me several hours just to compose a comprehensive list of software I am familiar with.
Random access and sequential access file in vb 6.0?
To access a particular data item in a sequential file, you need to read in all items in the file prior to the item of interest. This works acceptably well for small data files of unstructured data, but for large, structured files, this process is time-consuming and wasteful. Sometimes, we need to access data in non-sequential ways. Files which allow non-sequential access are random access files.
How do you install Turbo C plus plus on Windows XP?
Borland Turbo C++ is a 16-bit DOS implementation of C++. As such it cannot be run natively on 32-bit architecture, including Windows XP. Emulation programs such as Dosbox can be used to emulate a virtual 16-bit environment, however you will need to install a slightly modified version of Turbo C++ that is capable of running within this environment.
What is a handle in Windows Programming?
A handle is a reference for the operating system. It does not have the semantics of a programming reference but what it does do is allow the system resources to know what you are referring to when it is passed in an API call. Usually, the HANDLE is wrapped in an instance of a class. CWnd is a good example, it contains an HWND which is a handle to a window. You can do this. CWnd *pWnd = CWnd::FromHandle(hWnd) Note: that CWnd::FromHandle(hWnd) is static and does not require an instance. It will pass you back the wrapper that the hWnd is wrapped by. Well not quite! If the handle is not actually wrapped by an object it will create one AND IT WILL ONLY BE TEMPORARY.So use it the once then throw it away. It can create the instance because the hWnd has enough information in its struct for windows to instantiate a CWnd object. It does not add it to the handle v object table, so it is only temporary. The HWND is in fact a kernel object and theres more ? HWND (CWnd and CWnd-derived classes) HDC (CDC and CDC-derived classes) HMENU (CMenu) HPEN (CGdiObject) HBRUSH (CGdiObject) HFONT (CGdiObject) HBITMAP (CGdiObject) HPALETTE (CGdiObject) HRGN (CGdiObject) HIMAGELIST (CImageList) SOCKET (CSocket) (Should have been HSOCKET?) + others. I am not sure if all of these would pass back a temporary object if required. ::GetDC(hWnd) will get you a hDC from an hWnd but it will be temporary, probably better to use the CDC claa. It may be a fundamental requirement for windows programming? For a proper explanation look up google with this "Inside MFC: Handle Maps and Temporary Objects"
What is the best way to merge partitions on your hard drive?
One of the safest ways is to purchase a software program, e.g. Partition Magic, which can do this without destroying any of the data that may be on the partitions.
Better way
The safest way is to backup all your data. format HD and repartition with fdisk. Then install your programs and restore the data.
Although there are many programs to partition HD without lose data, nobody will recommend use them without backup your data. And if you backup all your data why not format your HD and reinstall programs - that way all your programs will run faster. If you don't have the time to reinstall or the original programs discs, You still must backup all your critical data, and this exist in many places on your HD, not just in "My Documents" folder, like Outlook data. So be care and lot of luck.
---- In Linux: After MUCH frustration, digging, trial-and-error, I have answered my own question.
My problem, as you may recall, was that I could not delete or resize two "unallocated partitions on my hard drive. All the options (unmount, resize, delete, etc.) were grayed out. I could not unmount them because they were in use.
The answer was to download the GParted LIVE CD from: http://gparted.sourceforge.net.
I simply inserted the GParted LIVE CD, rebooted, and -- voila! -- I could move, resize, and delete all my partitions at will! IMHO, the GParted utility is much easier to use then Partition Magic, and best of all, it is FREE!
I hope this post can help others with a similar problem.
lwcary
----
Write a Java program that computes the summation of 1 to n?
Increment your counter two at a time. Example, for n = 100:
n = 100;
sum = 0;
for (int i = 1; i <= n; i+=2) sum += i;
Another option (less efficient) is to loop through ALL integers, and check whether the number is odd:
n = 100;
sum = 0;
for (int i = 1; i <= n; i++) {
if (i % 2 == 1)
sum += i;
}
Or:
if (min%2==0) min= min+1;
if (max%2==0) max= max-1;
sum = ((max-min)/2 + 1) * (min+max) / 2;
How do you create window with c?
It is not possible to create a window with C as the C language does not specify any standard libraries for doing graphical programming. It is possible to create a window with C and one of the many graphics libraries that have been written since C was created. For example, using the Gtk+ library: #include #include int main (int argc, char *argv[]) { GtkWidget *window; gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_widget_show_all (window); gtk_main (); }