Docsity

BCS Coding and Logic Exam Questions with Detailed Answers, Exercises of Programmable Logic Controllers

Toggle sidebar
bg1
BCS CODING AND LOGIC EXAM LATEST QUESTIONS & CORRECT DETAILED
ANSWERS A+ GRADED & VERIFIED
needed for most management tasks in a Windows Server 2012/R2 environment.
cmd.exe
- ANSWER>>
This utility provides a command prompt in Windows in order to execute code, check
files and directories and carry out system configuration and troubleshooting.
Bash
- ANSWER>>
This common application offers a shell command line; other common shell applications are
the C shell, the Bourne shell, and the Korn shell.
ipconfig
- ANSWER>>
Windows client operating systems.
ipconfig /all
- ANSWER>>
Enables the MAC address information to be displayed from the command prompt in
Windows
netstat
- ANSWER>>
A TCP/IP troubleshooting utility that displays statistics and the state of current TCP/IP
connections. It also displays ports, which can signal whether services are using the correct ports.
ping
- ANSWER>>
A utility that sends an ICMP echo request message to a host.
cd
-
ANSWER>>
change
directory
ren
-
ANSWER>>
This command
is used to
rename
computer files
and in some
implementations
also
directories.
-
-
ANSWER>>
list directories in Linux
netstat -a
- ANSWER>>
Displays all connections and
listening ports.
PowerShell
- ANSWER>>
A command-line interactive scripting environment that provides the commands
dir
- ANSWER>>
This command displays the contents of a directory.
mkdir
- ANSWER>>
Creates a directory
mv <oldname> <newname>
- ANSWER>>
move and rename a file or directory
systeminfo
ANSWER>>
Displays detailed machine configuration and processor information
ls
pf3
pf4
pf5

Partial preview of the text

Download BCS Coding and Logic Exam Questions with Detailed Answers and more Exercises Programmable Logic Controllers in PDF only on Docsity!

BCS CODING AND LOGIC EXAM LATEST QUESTIONS & CORRECT DETAILED

ANSWERS A+ GRADED & VERIFIED

needed for most management tasks in a Windows Server 2012/R2 environment. cmd.exe - ANSWER>> This utility provides a command prompt in Windows in order to execute code, check files and directories and carry out system configuration and troubleshooting. Bash - ANSWER>> This common application offers a shell command line; other common shell applications are the C shell, the Bourne shell, and the Korn shell. ipconfig - ANSWER>> The utility used to display TCP/IP addressing and domain name information in the Windows client operating systems. ipconfig /all - ANSWER>> Enables the MAC address information to be displayed from the command prompt in Windows netstat - ANSWER>> A TCP/IP troubleshooting utility that displays statistics and the state of current TCP/IP connections. It also displays ports, which can signal whether services are using the correct ports. ping - ANSWER>> A utility that sends an ICMP echo request message to a host. cd

ANSWER>> change directory ren - ANSWER>> This command is used to rename computer files and in some implementations also directories.

ANSWER>> list directories in Linux netstat - a - ANSWER>> Displays all connections and listening ports. PowerShell - ANSWER>> A command-line interactive scripting environment that provides the commands dir - ANSWER>> This command displays the contents of a directory. mkdir - ANSWER>> Creates a directory mv - ANSWER>> move and rename a file or directory systeminfo ANSWER>> Displays detailed machine configuration and processor information ls

rm - ANSWER>> remove a file lscpu - ANSWER>> shows CPU info in Linux RAM+Swap usage in Linux top - ANSWER>> This command is used to show the Linux processes. It provides a dynamic real-time view of the running system. tail - ANSWER>> This command prints the last N number of data of the given input. By default it prints the last 10 lines of the specified files. ls - l /

  • ANSWER>>This command lists all contents of a directory in long format dir /b
  • ANSWER>>This Windows command displays only the name of the folders and files in the current directory and not attributes like file size and time stamps. nslookup - ANSWER>> Command-line program in Windows and Linux used to determine exactly what information the DNS server is providing about a specific host name. tracert - ANSWER>> A command-line utility used in Windows to follow the path a packet takes between two hosts. traceroute - ANSWER>> A command line utility used in Linux that shows the route a packet takes across the Internet chkdsk - ANSWER>> A Windows command to verify the hard drive does not have bad sectors that can corrupt the file system. Windows Task Scheduler - ANSWER>> This is an advanced Windows tool that allows you to create and run routines automatically. Using this tool, you can automate tasks to perform all sorts of things, including launching an app, running a specific commands etc. CRON - ANSWER>> This is Linux tool that allows you to create and schedule routines to run automatically. Using this tool, you can automate tasks to perform all sorts of things, including launching an app, running a specific commands etc. Cascading Style Sheets (CSS) - ANSWER>> A technology that allows greater style definition and formatting control of HTML elements. Formatting can be placed within the HTML or called remotely from an external style sheet. Null - ANSWER>> This expression is used to signify that no value has been assigned to a specific field in an SQL or other database field. Some scripting languages also assign this value to variables when they are created. html - ANSWER>> This is a standardized system for tagging text files to achieve font, color, graphic, and hyperlink effects on World Wide Web pages. csv - ANSWER>> File format for transferring data, which stores fields and records in a plain text file, separated free - m - ANSWER>> Display fsck - ANSWER>> This command checks and repairs a Linux filesystem
  • ANSWER>> This protocol enables the communication between clients and servers. GET - ANSWER>>This method is used by HTTP to request data from a specific resource. POST - ANSWER>>This method is used in HTTP to send data to a server to create/update a resource. Using the same request repeatedly will create the same resource multiple times e.g. clicking the back button in a browser and resubmitting payment information multiple times. PUT - ANSWER>> This method is used by http to send data to a server to create/update a resource. DELETE - ANSWER>> This method is used by http to remove the specified resource. r w

ANSWER>> Stands for 'Execute' when dealing with file and directory permissions in Linux chmod +rwx

  • ANSWER>>Adds permissions to a file in Linux. NB: This only adds permissions for the owner of the file. chmod - rwx - ANSWER>> Removes permissions from a file in Linux. NB: This only changes permissions for the owner of the file. chmod +x - ANSWER>> Adds executable permissions to a file in Linux. NB: This only changes permissions for the owner of the file. chmod - wx filename - ANSWER>> Removes Write and Executable permissions from a file in Linux. NB: This only changes permissions for the owner of the file. g - ANSWER>> add this letter to a chmod command to change permissions for a users in a group in Linux

ANSWER>> add this letter to a chmod command to change permissions for all in Linux chmod ugo+rwx

  • ANSWER>>gives read, write, and execute permissions for a folder to

ANSWER>>

Stands for 'Read' when dealing with file and directory permissions in Linux

  • ANSWER>> Stands for 'Write' when dealing with file and directory permissions in Linux x u - ANSWER>> add this letter to a chmod command to change permissions for users in Linux o ANSWER>> add this letter to a chmod command to change permissions for all other users in Linux a

everyone in Linux. everyone in Linux. chmod g=r - ANSWER>> Give the members of the group permission to read the file, but not to write and execute it. chmod o-w

  • ANSWER>> Removes the write permission for other users chmod og-rwx filename

ANSWER>>

Remove the read, write, and execute permission for all users except the file's owner. chmod og= filename - ANSWER>> Remove the read, write, and execute permission for all users except the file's owner. = - ANSWER>> Using this symbol with chmod changes the current permissions to the specified permissions. If no permissions are specified after this symbol, all permissions from the specified user class are removed. chmod u=rwx,g=r,o= filename - ANSWER>> Give read, write and execute permission to the file's owner, read permissions to the file's group and no permissions to all other users.

  • rw-r--r-- 12 linuxize users 12.0K Apr 8 20:51 filename.txt - ANSWER>> Example output from an ls-l command showing the details of a file, including permissions and ownership chgrp - ANSWER>> This command changes groups of files and directories in Linux. Note that the group must exit before you can assign groups to files and directories. chown - ANSWER>> This command changes the ownership of files and directories in Linux. Comparison operator - ANSWER>> These are operators that compare values and return true or false in a script. e.g. and, or, and not.
  • eq - ANSWER>> Comparision operator that means 'is equal to' when used in an expression
  • ne - ANSWER>> Comparision operator that means 'is not equal to' when used in an expression
  • gt - ANSWER>>Comparision operator that means 'is greater than' when used in an expression
  • ge - ANSWER>> Comparision operator that means 'is greater than or equal to' when used in an expression
  • le - ANSWER>>Comparision operator that means 'is less than or equal to' when used in an expression chmod a=r - ANSWER>> gives read permissions for a folder to chmod a-x - ANSWER>> Remove the execute permission for all users. Logical Operator - ANSWER>> These type of operator includes operators that combines boolean expressions