更多“A(n) ______ is a destructive program that fills a computer system with self-replicating in ”相关问题
  • 第1题:

    You are the administrator of a Windows 2000 Professional computer named Computer1. Computer1 has a shared color laser printer named Printer1. Printer1 will not turn on.

    The printer queue for Printer1 has three jobs waiting to print. You want to enable the three waiting print jobs to print to an identical print device, which has been shared as Printer2 on Computer2. You also want to connect users who currently connect to Printer1 to automatically use Printer2 without having to reconfigure their default printer.

    What should you do?

    A.Enable bidirectional support for Printer1.

    B.Change the share name of Printer2 to Printer1.

    C.Configure Printer1 to add a port, and set the port to \\Computer2\Printer2.

    D.Configure the printer server properties to use the path \\Computer2\$Winnt$\System32\Spool\Printers.


    正确答案:C
    解析:Explanation: The twoprint devices will use the same printer driver because they are identical. This makes it possible to redirect the print jobs. To redirect all print jobs from printer1 to printer2 you must add the port \\computer2\printer2 to printer1.

    Incorrect Answers:
    A: Disabling the bidirectional support option will prevent the print device from communicating with the printer. This will prevent you from redirecting the print jobs.

    B: Changing the share name of printer2 to printer1 will not redirect any printer jobs as you would still have two distinct printers name \\computer1\printer1 and \\computer2\printer1. Instead you should add the port \\computer2\printer2 to printer1 so it would redirect all print jobs from printer1 to printer2.

    D: The actual path to the spool folder is not used for redirecting print jobs. It is used to save pending print jobs. To redirect all print jobs from printer1 to printer2 you must add the port \\computer2\printer2 to printer1.

  • 第2题:

    有以下程序: void funl(char*p) { char*q; q=P; while(*q!=\O) {(*q)++;q++;} } main { char a[]={"Program"),*P; p=&a[3];funl(p); printf("%s\n",a); } 程序执行后的输出结果是( )。

    A.Prohsbn

    B.Prphsbn

    C.Progsbn

    D.Program


    正确答案:A
    本题中使用了函数的调用,由{unl函数中的while循环可知,循环的作用是为了把q所指向的内容增加l,而从主函数传到函数时是从下标为3开始传,因此当调用函数执行完后,传过去的字符串为hsbn,前面不变。

  • 第3题:

    YouhaveanExchangeServer2010organization.Thenetworkcontainsthecomputersshowninthefollowingtable.YouneedtoidentifythecomputersthatcanruntheExchangeServer2010managementtools.Whichtwocomputersshouldyouidentify?()

    A.Computer1

    B.Computer2

    C.Computer3

    D.Computer4

    E.Computer5


    参考答案:B, C

  • 第4题:

    有以下程序 void fun 1 (char *p) { char *q; q=p; while(*q!='\0') {(*q)++;q++;} } main() {char a[]={"Program"},*p; p=&a[3];fun1(p);printf("%s\n",a); } 程序执行后的输出结果是______。

    A.Prohsbn

    B.Prphsbn

    C.Progsbn

    D.Program


    正确答案:A
    解析:此题考核的知识点是指向数组的指针作为函数的参数及指针的运算,如果形参数组中的元素发生变化,实参也将发生相应变化。指针p指向数组的第三位地址(即字符“g”的地址),q=p也就相当于指针q指向数组的第三位地址。表达式(*q)++,首先根据()的优先级得到a[3]的值“g”,再进行加1运算,所以g也就变成了h;表达式q++是将地址加 1,也就是指向下—个地址町a[4]。然后再执行while()语句,直到遇到'\0'结束循环,返回形参。

  • 第5题:

    YournetworkhasclientcomputersthatrunWindows7Enterprise.YouplantodeploynewadministrativetemplatepolicysettingsbyusingcustomADMXfiles.YoucreatethecustomADMXfiles,andyousavethemonanetworkshare.YoustartGroupPolicyObjectEditor(GPOEditor).ThecustomADMXfilesarenotavailableintheGroupPolicyeditingsession.YouneedtoensurethattheADMXfilesareavailabletotheGPOEditor.Whatshouldyoudo?()

    A.SetthenetworksharepermissionstograntallWindows7usersReadaccessfortheshare.

    B.CopytheADMXfilestothecentralstore,andthenrestarttheGPOEditor.

    C.CopytheADMXfilestothe%systemroot%\inffolderoneachWindows7computer,andthenrestarttheGPOEditor

    D.CopytheADMXfilestothe%systemroot%\system32folderoneachWindows7computer,andthenrestarttheGPO Editor.


    参考答案:B

  • 第6题:

    有以下程序: void fun1(char*p) { char *q; q=p; while(*q!='\0') { (*q)++; q++; } } main() { char a[]={"Program"),*p; p=&a[3]; fun1(p) printf("%s\n",A) ; } 程序执行后的输出结果是( )。

    A.Prohsbn

    B.Prphsbn

    C.Progsbn

    D.Program


    正确答案:A
    解析:在函数fun1()中,首先将形参p的内容存入临时指针q中,然后使用—个while循环,当q所指内容不是字符串结束标志"\0'时,让q所指内容增1,然后将指针q增1指向下一个位置。所以函数fun1()实现的功能是:将传入字符串的所有字符自增1。主函数,指针p在被传入fun1()函数之前,初始化指向的是宁符数组a的第4个元素'g',所以最终输出的结果应该是Prohsbn。故应该选择A。