##### A 30 nC charge experiences a 0.035 N electric force.

A 30 nC charge experiences a 0.035 N electric force. What is the magnitude of electric field at the position of this charge?

In: Computer Science

##### CAN YOU OPEN THE LOCK USING THESE CLUES?

CAN YOU OPEN THE LOCK USING THESE CLUES?

682 ONE DIGIT IS RIGHT AND IN ITS PLACE

614 ONE DIGIT IS RIGHT BUT IN THE WRONC PLACE

206 TWO DIGITS ARE RIGHT BUT BOTH ARE IN THE WRONG PLACE.

738 ALL DIGITS ARE WRONG

380 ONE PICIT IS RIGHT BUT IN THE WRING PLACE.

In: Computer Science

##### Array indices must be positive integers or logical values?

How can I fix this MATLAB error Index in position 2 is invalid. Array indices must be positive integers or logical values?

In: Computer Science

##### Create shell in C which meets requirements below: 1. The shell must support the following internal commands:

Create shell in C which meets the requirements below:
1. The shell must support the following internal commands:
i.
cd - Change the current default directory to
If the argument is not present, report the current directory. If the directory does not exist an appropriate error
should be reported. This command should also change the
PWD environment variable.
ii. clr - Clear the screen.
iii. dir - List the contents of directory.

iv.
environ - List all the environment strings.
v. echo - Display on the display followed by a newline (multiple spaces/tabs may be reduced to a single space).
vi. help - Display the user manual using the more filter.
vii. pause - Pause operation of the shell until 'Enter' is pressed.

viii.
quit - Quit the shell.
ix.
The shell environment should contain shell=/myshell where
/myshell is the full path for the shell executable (not a
the hardwired path back to your directory, but the one from which it was executed).

In: Computer Science

##### Design a state diagram that detects the 7-bit ASCII code of the last alphabet of your full name from a sequence of incoming bits

Design a state diagram that detects the 7-bit ASCII code of the last alphabet of your full name from a sequence of incoming bits. Derive the truth table and draw the circuit diagram of this system using D-Flip Flops.

Note: “Muhammad Ali” than you have to detect ASCII code for “i”.

Note : Do this for "i"

In: Computer Science

##### What different software packages are available to help entrepreneurs with their different record-keeping and control activities

2. RESEARCH TASK BLOG 3. What different software packages are available to help entrepreneurs with their different record-keeping and control activities (try to find at least two different packages - go beyond the basic Microsoft Office examples)? How effective do you believe software can be for each of these tasks? Write a blog on the ECN (a few paragraphs) about the questions above by Saturday at 5 pm (cite external sources). Before you start writing your blog, read the blogs of the other students in the class that have posted previous to you and come up with different examples than the ones your colleagues already wrote about. This means there is a definite advantage to completing your blog as soon as possible in the module.

In: Computer Science

##### (In JAVA)Write code to print the location of any alphabetic character in the 2-character string passCode.

Java Language

Write code to print the location of any alphabetic character in the 2-character string passCode. Each alphabetic character detected should print a separate statement followed by a newline. Ex: If passCode is "9a", output is:

Alphabetic at 1

import java.util.Scanner;

public class FindAlpha {

public static void main (String [] args) {

Scanner scnr = new Scanner(System.in);

String passCode;

passCode = scnr.next();

/* Your solution goes here */

}

}

In: Computer Science

##### (In C)Set hasDigit to true if the 3-character passCode contains a digit.

Set hasDigit to true if the 3-character passCode contains a digit. (in C)

#include <stdio.h>

#include <string.h>

#include <stdbool.h>

#include <ctype.h>

int main(void) {

bool hasDigit;

char passCode[50];

hasDigit = false;

scanf("%s", passCode);

/* Your solution goes here */

if (hasDigit) {

printf("Has a digit.\n");

}

else {

printf("Has no digit.\n");

}

return 0;

}

In: Computer Science

##### (JAVA)Set hasDigit to true if the 3-character passCode contains a digit.

JAVE

3.10.1: String with digit.

Set hasDigit to true if the 3-character passcode contains a digit.

MUST USE THIS TEMPLATE:

public class CheckingPasscodes {
public static void main (String [] args) {
boolean hasDigit;
String passCode;

hasDigit = false;
passCode = "abc";

/* Your solution goes here */

if (hasDigit) {
System.out.println("Has a digit.");
}
else {
System.out.println("Has no digit.");
}
}
}

In: Computer Science

##### (C++)Set hasDigit to true if the 3-character passCode contains a digit.

C++. Set hasDigit to true if the 3-character passCode contains a digit.

#include
#include
#include
using namespace std;

int main() {
bool hasDigit;
string passCode;

hasDigit = false;
cin >> passCode;

/* Your solution goes here */

if (hasDigit) {
cout << "Has a digit." << endl;
}
else {
cout << "Has no digit." << endl;
}

return 0;

In: Computer Science